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