d7482997 |
1 | \title Halibut: A Test Document With A Stupidly Long Title Just To |
2 | See If Wrapping Titles Works OK. In Fact This Title Will Span Three |
3 | Lines, Not Just Two. How's That For Ludicrous? |
4 | |
5 | \cfg{xhtml-leaf-smallest-contents}{2} |
d7482997 |
6 | \cfg{xhtml-leaf-contains-contents}{true} |
13561057 |
7 | \cfg{info-dir-entry}{Sillinesses}{test.but}{Halibut test document} |
8 | \cfg{info-dir-entry}{Florbles}{test.but}{Subsection of Halibut test |
9 | document}{sub-sub} |
4b3c5afb |
10 | \cfg{man-headnumbers}{true} |
d7482997 |
11 | |
8902e0ed |
12 | This paragraph is not labelled \q{preamble}, but should still appear |
13 | as it. |
14 | |
d7482997 |
15 | \preamble This manual is a small joke effort, designed to use every |
16 | feature \#{ comment } that Halibut's input format supports. Creation |
17 | date \date{%Y.%m.%d} (default format is \date). |
18 | |
8902e0ed |
19 | \c Here is a code paragraph in the preamble, just to stress that all |
20 | \c things are possible. Ooh! |
21 | |
d7482997 |
22 | \copyright Copyright 1999 Simon \#{second comment}Tatham. All rights |
23 | reserved. |
24 | |
56a99eb6 |
25 | Here's another \i{preamble paragraph}, which goes after the copyright. |
9057a0a8 |
26 | |
d7482997 |
27 | \define{metacoopt} [this is a nested, |
28 | multi-line macro, talking about \coopt |
29 | a bit] |
30 | |
31 | \define{coopt} co\u00F6{-o}pt |
32 | |
672e4626 |
33 | \define{eur} \u20AC{EUR } |
34 | |
a1677855 |
35 | \versionid $Id$ |
d7482997 |
36 | |
37 | \C{ch\\ap} First chapter title; for similar wrapping reasons this |
38 | chapter title will be ludicrously long. I wonder how much more |
39 | chapter title I can write before feeling silly. |
40 | |
41 | This is a para\#{another{} comment}graph of text. It |
42 | has line\#{yet another one} breaks in between words, multiple |
43 | spaces (ignored), and \e{emphasised text} as well as \c{code |
44 | fragments}. |
45 | |
b7747050 |
46 | \cw{This} is weak code; \cq{this} is quoted code. And \k{head} |
47 | contains some other stuff. \K{subhead} does too. |
d7482997 |
48 | |
7136a6c7 |
49 | To test the man page back end: |
50 | |
51 | .Directive |
52 | |
53 | 'Directive |
54 | |
a1677855 |
55 | \cw{.Directive} |
56 | |
57 | \cw{'Directive} |
58 | |
7136a6c7 |
59 | \\Sping\\Spong\\Spoing |
60 | |
d7482997 |
61 | \H{head} First section title (very long again, no prizes for |
62 | guessing the reason why this time, and here's yet more text to pad |
63 | it out to three lines of output) |
64 | |
65 | \cfg{winhelp-topic}{M359HPEHGW} |
66 | |
67 | Here's a code paragraph: |
68 | |
69 | \c No leading spaces |
70 | \c One leading space |
71 | \c Two blank lines follow this one. |
72 | \c |
73 | \c |
74 | \c Two blank lines precede this one. |
75 | \c Two leading spaces |
76 | \c We can use \ { and } with impunity here. |
4b3c5afb |
77 | \c We can use discretionary bold and italic in code paragraphs! |
78 | \e bbbb iiiiii |
79 | \c Isn't that ludicrous? |
d7482997 |
80 | |
81 | This is a list: |
82 | |
83 | \b Ooh. |
84 | |
85 | \b Aah. |
86 | |
7136a6c7 |
87 | \lcont{ |
88 | |
89 | This bulletted list contains a list continuation. This is an |
90 | additional paragraph, or more than one, indented at the same level |
91 | as the list items, and able to contain nested sublists and other |
92 | features. For example, here's a code paragraph: |
93 | |
94 | \c spingle:~$ whoami |
95 | \c spoggler |
96 | |
97 | And here's a sublist. Numbered, just for variety. |
98 | |
99 | \n One. |
100 | |
101 | \lcont{ |
102 | |
103 | \n 1a. |
104 | |
105 | \n 1b. |
106 | |
780f45d4 |
107 | \lcont{ |
108 | \c Code |
109 | \c Paragraph |
110 | } |
111 | |
7136a6c7 |
112 | \n 1c. |
113 | |
114 | \lcont{This is an even sillier one: a continuation of a list item in |
115 | a continuation of a list item in a continuation of a list item!} |
116 | |
117 | } |
118 | |
119 | \n Two. |
120 | |
121 | \n Threeeee! |
122 | |
123 | } |
124 | |
d7482997 |
125 | \b Eek. |
126 | |
127 | This is a horizontal rule: |
128 | |
129 | \rule |
130 | |
131 | This is a numbered list: |
132 | |
133 | \n Ooh. |
134 | |
135 | \n{keyword} Aah. |
136 | |
137 | \n Eek. \q{Aah} is point \k{keyword}. |
138 | |
7136a6c7 |
139 | This is a description list: |
140 | |
141 | \dt FISH |
142 | |
143 | \dd A piscine creature, often to be found swimming aimlessly around |
144 | in the sea eating things and not contributing to the global economy. |
145 | |
146 | \lcont{ |
147 | |
148 | Here's another of those funky list continuation things, just to keep |
149 | Halibut on its toes. |
150 | |
151 | } |
152 | |
153 | \dt BADGER |
154 | |
155 | \dd A non-piscine creature, often to be found snuffling around on |
156 | land, not contributing to the global economy, and not even swimming |
157 | to make up for it. I don't know. These mammals. Pa-thetic. |
158 | |
159 | \dt "SAUSAGE SALESMAN" |
160 | |
161 | \dd An exemplary contributor to the global economy. Unless he's CMOT |
162 | Dibbler. |
163 | |
02478c4f |
164 | This is a much more interesting description list, testing |
165 | consecutive \c{\\dt}s and consecutive \c{\\dd}s: |
166 | |
167 | \dt One |
168 | |
169 | \dt Two |
170 | |
171 | \dt Three |
172 | |
173 | \dd Ay |
174 | |
175 | \dt Four |
176 | |
177 | \dd Bee |
178 | |
179 | \dd Cee |
180 | |
181 | \dd Dee |
182 | |
d7482997 |
183 | A-paragraph-full-of-hyphens-to-test-the-idea-that-word-wrapping-can-happen-somewhere-in-all-this-hyphenatory-nonsense. |
184 | |
185 | A\-paragraph\-full\-of\-nonbreaking\-hyphens\-to\-test\-the\-idea\-that\-word\-wrapping\-misses\-them. |
186 | |
187 | A\_paragraph\_full\_of\_nonbreaking\_spaces\_to\_test\_the\_idea\_that\_word\_wrapping\_misses\_them\_too. |
188 | |
189 | Use of macros: let's talk about \coopt. And about \coopt some more. |
190 | And a nested macro: \metacoopt. |
191 | |
672e4626 |
192 | A slightly more difficult macro: \eur\.2500. |
193 | |
e34ba5c3 |
194 | Test of input character set switching. |
195 | |
ff0ee988 |
196 |