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