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