1 \title Halibut: A Test Document With A Stupidly Long Title Just To
2 See If Wrapping Titles Works OK. In Fact This Title Will Span Three
3 Lines, Not Just Two. How's That For Ludicrous?
5 \cfg{xhtml-leaf-smallest-contents}{2}
6 \cfg{xhtml-leaf-contains-contents}{true}
7 \cfg{man-headnumbers}{true}
9 This paragraph is not labelled \q{preamble}, but should still appear
12 \preamble This manual is a small joke effort, designed to use every
13 feature \#{ comment } that Halibut's input format supports. Creation
14 date \date{%Y.%m.%d} (default format is \date).
16 \c Here is a code paragraph in the preamble, just to stress that all
17 \c things are possible. Ooh!
19 \copyright Copyright 1999 Simon \#{second comment}Tatham. All rights
22 \define{metacoopt} [this is a nested,
23 multi-line macro, talking about \coopt
26 \define{coopt} co\u00F6{-o}pt
28 \define{eur} \u20AC{EUR }
30 \versionid $Id: test.but,v 1.23 2004/03/25 19:27:12 simon Exp $
32 \C{ch\\ap} First chapter title; for similar wrapping reasons this
33 chapter title will be ludicrously long. I wonder how much more
34 chapter title I can write before feeling silly.
36 This is a para\#{another{} comment}graph of text. It
37 has line\#{yet another one} breaks in between words, multiple
38 spaces (ignored), and \e{emphasised text} as well as \c{code
41 \cw{This} is weak code. And \k{head} contains some other stuff.
44 To test the man page back end:
50 \\Sping\\Spong\\Spoing
52 \H{head} First section title (very long again, no prizes for
53 guessing the reason why this time, and here's yet more text to pad
54 it out to three lines of output)
56 \cfg{winhelp-topic}{M359HPEHGW}
58 Here's a code paragraph:
62 \c Two blank lines follow this one.
65 \c Two blank lines precede this one.
67 \c We can use \ { and } with impunity here.
68 \c We can use discretionary bold and italic in code paragraphs!
70 \c Isn't that ludicrous?
80 This bulletted list contains a list continuation. This is an
81 additional paragraph, or more than one, indented at the same level
82 as the list items, and able to contain nested sublists and other
83 features. For example, here's a code paragraph:
88 And here's a sublist. Numbered, just for variety.
100 \lcont{This is an even sillier one: a continuation of a list item in
101 a continuation of a list item in a continuation of a list item!}
113 This is a horizontal rule:
117 This is a numbered list:
123 \n Eek. \q{Aah} is point \k{keyword}.
125 This is a description list:
129 \dd A piscine creature, often to be found swimming aimlessly around
130 in the sea eating things and not contributing to the global economy.
134 Here's another of those funky list continuation things, just to keep
141 \dd A non-piscine creature, often to be found snuffling around on
142 land, not contributing to the global economy, and not even swimming
143 to make up for it. I don't know. These mammals. Pa-thetic.
145 \dt "SAUSAGE SALESMAN"
147 \dd An exemplary contributor to the global economy. Unless he's CMOT
150 A-paragraph-full-of-hyphens-to-test-the-idea-that-word-wrapping-can-happen-somewhere-in-all-this-hyphenatory-nonsense.
152 A\-paragraph\-full\-of\-nonbreaking\-hyphens\-to\-test\-the\-idea\-that\-word\-wrapping\-misses\-them.
154 A\_paragraph\_full\_of\_nonbreaking\_spaces\_to\_test\_the\_idea\_that\_word\_wrapping\_misses\_them\_too.
156 Use of macros: let's talk about \coopt. And about \coopt some more.
157 And a nested macro: \metacoopt.
159 A slightly more difficult macro: \eur\.2500.
161 Oh, while I'm here: some special characters. The \\, \{ and \}
162 characters, to be precise. And their code equivalents, \c{\\},
165 \S{subhead} First subheading
167 So here's a \I{subheading}\I{subsection}subsection. Just
168 incidentally, \q{this} is in quotes. \ii{Those} quotes had better work
171 We'll try for some Unicode here: \i{Schr\u00F6{oe}dinger}.
173 An index tag containing non-alternatived Unicode: \i{\u00BFChe?}
175 An invisible index tag: \I{she seems to have an invisible tag}yeah.
177 \S2{sub-sub}{Florble} Smaller heading still
179 A tiny section. Awww. How cute. Actually, this one's a \e{florble},
180 and here's a reference to it: \k{sub-sub}.
182 \A{app} Needless appendix
184 \# \cfg{winhelp-topic}{Y5VQEXZQVJ} (uncomment this and it clashes)
186 Here's an \i{appendix}, for no terribly good reason at all. See
187 __\k{book}__ (please excuse those underscores, I'm testing
190 It also contains a \W{http://www.tartarus.org/}{hyperlink}.
194 \B{book} Some text describing a book.
196 \B{nocite} Some text describing a book. This text should appear in
197 the document even though there is no \cw{\\k} citing it.
199 \BR{book} [SillyCitation]
204 \B{uncited} If this text appears, there's an actual error.
206 \# This is a comment.
208 \# Now for the index section.
210 \IM{she seems to have an invisible tag}{appendix} Invisible tags