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