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