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