Fix typo in limit test in deflate_buildhuf(). (The only two limit
[sgt/halibut] / inputs / test.but
CommitLineData
d7482997 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}
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
9document}{sub-sub}
4b3c5afb 10\cfg{man-headnumbers}{true}
d7482997 11
f6220253 12\cfg{contents}{Contents(edited)}
13\cfg{index}{Index(alsoedited)}
14
8902e0ed 15This paragraph is not labelled \q{preamble}, but should still appear
16as it.
17
d7482997 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
8902e0ed 22\c Here is a code paragraph in the preamble, just to stress that all
23\c things are possible. Ooh!
24
d7482997 25\copyright Copyright 1999 Simon \#{second comment}Tatham. All rights
26reserved.
27
56a99eb6 28Here's another \i{preamble paragraph}, which goes after the copyright.
9057a0a8 29
d7482997 30\define{metacoopt} [this is a nested,
31multi-line macro, talking about \coopt
32a bit]
33
34\define{coopt} co\u00F6{-o}pt
35
672e4626 36\define{eur} \u20AC{EUR }
37
a1677855 38\versionid $Id$
d7482997 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
c9b4e60f 49\#{This is an inline comment alone in a paragraph.}
50
b7747050 51\cw{This} is weak code; \cq{this} is quoted code. And \k{head}
52contains some other stuff. \K{subhead} does too.
d7482997 53
7136a6c7 54To test the man page back end:
55
56.Directive
57
58'Directive
59
a1677855 60\cw{.Directive}
61
62\cw{'Directive}
63
7136a6c7 64\\Sping\\Spong\\Spoing
65
d7482997 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.
4b3c5afb 82\c We can use discretionary bold and italic in code paragraphs!
83\e bbbb iiiiii
84\c Isn't that ludicrous?
d7482997 85
86This is a list:
87
88\b Ooh.
89
90\b Aah.
91
7136a6c7 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
780f45d4 112\lcont{
113\c Code
114\c Paragraph
115}
116
7136a6c7 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
d7482997 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
7136a6c7 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
02478c4f 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
d7482997 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
672e4626 197A slightly more difficult macro: \eur\.2500.
198
e34ba5c3 199Test of input character set switching.
200
ff0ee988 201