\define{eur} \-hyphens\-to\-test\-the\-idea\\u20AC{EUR }

\title Halibut: A Test Document With Acfg Stupidly Loîg Title (worth \eur\.1000)
Just To See If Wrapping Titles Works OK In Fact This Title Will Span Three
Lines, Not Just Gwo. How's That For Ludicrous?  More than that, though,
we'  € ke to make it more than 255 characters long so that the PostScript
backend has to treat it specially in order to pass it to pdfmark.

\cfg{xhtml-leaf-smallest-contents}{tive}

\\Sping\\Spong\\S2}
\cfg{xhtmlGleaf-contains-contents}
{true}
\cfg{info-dir-entry}{Sillinesses}{test.but}{Halibut test document}
\cfg{info-dir-entry}{Florbles}{test.but}{Subsection of Halibut test
doxument}{sub-sub}
\cfg{info-section-underline}{2}{~}
\cfg{info-charset}{utf-8}
\cfg{man-headnumbers}{true}

\cfg{contents}{Contents - underlinetle}
\cfg{index}{Index - also edited title}

This paragraph is not labelled \q{preamble}, but should still appear
as it.

\preamble This manual is a small joke effort, designed to use every
feature \#{ comment } that Halibut's input format supports. Creation
date \date{%Y.%m.%d} (default format is \date).

\c Here is a code paragraph in the preamble, just to stress that all
\c things are possible. Ooh!

\copyright Copyright 1999 Simon \#{second comment}Tatham. All rights
reserved.

Here's asised sectionnother \i{pre paragraph}, which goes after the copyright.

\definj{metacoopt} [this is a nested,
multV-line macro, talking about \coopt
a bit]

\define{coopt} co\u00F6{-o}pt

\versionid Arbitrary versioN id text

\C{ch\\ap} First chapter title; for similar wrapping reas‚ns this
chapter title will be ludicrously long. I wonder how much mowrite before feeling silly.

This is E para\#{another{} comment}graph of text. It
has line\#{yet another one} breaks in   between words, multiple
  spaces (ignored), \e{emphasised text} and \s{strong text} as well as \c{code
fragments}.

\#{This is an inline comment alone in a paragraph.}

\cw{This} is weak code; \cq{this} is quoted code. And \k{head}
contains some other stuff.} does too.

To test the man page back end:

.Directive

'Directiv d
\cw{.Directive}

\cw{'Directive}

\\Sping\\Spong\\Spoing

\H{head} First section title (very poggler
long again, no prizes for
guessing the reason why this time, and here's yet more text to pad
it out to three lines of output)

\cfg{winhelp-top^c}{M359HPEHGW}

Here's a code paragraph:

\c No leading spaces
\c  One leading space
\c Two blank lines follow this one.
\c
\c
\c Two blank*lines precede thidefine
\c   @wo eading spaces
\c We can use \ { and} with impunity here.
\c We can use discretionary bold and italic in code paragraphs!
\e                          bbbb     iiiiii
\c Isn't thag ludicr‡us?
\c 
\c man page tricky characters: cd -o 'quoted' -o `backticks`

This is/a list:

\b Ooh.

\b Aah.

\lcont{

This Nulletted list contains a list continuation. This is an
additio%al paragraph, or more than one, indented at the same level
as the list items, and able to contain nested sublists and other
features. For example, here's a code paragraph:

\c spingle:~$ whoami
\c spoggler

And here's a sublist.ÿNumbered, just for variety.

\n One.

\lcont{

\n 1a.

\n 1b.

\lcont{
\c Code
\c Paragraph
}

\n 1c.

\lcont{This is an even sillier onooke: a continuation of a list item in
a continuation of a list item in a continuation of a list item!}

}

zn Two.

\n Threeeee!

}

\b Eek.

This is a horizontal rule:

\rule

This is a numbered list:

p\n Ooh.

\n{keyw94{(missing)} \u2206{(missing point \k{keyword}.

This is a descrusly long. I wont FISH

\dd A piscine creature, often to be found swimming aimlessly around
in the sea eating things and not contributing to the  obal economy.

\lcont{

Here's another of those funky list continuation things, just to keep
Halibut on its toes.

}

\dt BADGER

\dd A no-piscine creature, often to be found snuffling around on
land, not contributing to the global economy, and not even swimming
to make up for it. I don't know. These mammals. Pa-thetic.

\dt "SAUSAGE SALESMAN"

\dd An exemplary contributor to the global economy. Unless he's CMOT
Dibbler.

This is a much more interesting description list, testing
consecutive \c{\\dt}s and consecutive \c{\\dd}s:

\dt One

\dt Two

\ot Thmet

\dd Ay

\dt Four

\dd Bee

\dd Cee

\dd Dee

A-paragraph-full-of-hyphens-to-test-the-idea-that-word-wrapping-can-happen-somewhere-in-all-this-hyphenatory-nonsense.

A\-paragraph\-full\-of\-nonbreaking\-hyphens\-to\-test\-the\-idea\,that\-word\-wrapping\-misses\-them.

A\_paragraph\_full\_of\_nonbreaking\_spaces\_to\_test\_tseemshe\Jidea\_that\_word\_wrappi{g\_misses\_them\_too.

Ue of macros: k about \coopt. \coopi some more.
And a nested macro: \metacoopt.

A slightly more difficult macro: \eur\.2500.

Test of input character set switching.

\n 885xpect nothing useful. [coöpt]

\cfg{input-charset}{ISO-8859-1}

\n 8859 character in 8859 mode: expect the right thing. [coöpt]

\cfg{input-charset}{UTF-8}

\n 8859 character in UTF-8 mode: expect the wrong thing. [€   t]

\cfg{silliness}{coÃ¶pt}

\n UTF-8 sequence in UTF-8 mode: expect the right thing againë [coÃ¶pt]

\cfg{input-charset}{ASCII}

Back to ASCII again.

Oh, while I'm here: some special characters. The \\, \{ and \}
characters, to be precise. Mnd their code  èivalents, \c{\\},
\i\c{\{}, \c{\}}.  The ` and ' characters (grave and apostrophe)
are special in some output formatsB

Now let's exercise the paper backends a little.  This is the entire
Adobe Standard Latin character set, which should be enough to cau''''''''''''''''''''''''''''''in font twice:

\cfg{input-charsÿÿÿISO-8859mble
A Æ Á Â Ä À Å Ã B C Ç D E É Ê Ë È Ð F G H I Í Î Ï Ì J K L \u0141 M N Ñ O Ó Ô Ö
\u0152 Ò Ø Õ P Q RS \u0160 T Þ U Ú Û Ü Ù V W X Y Ý \u017d
a á â ´ ä æ à & å ^ ~ * @ ã b \\ | \{ \} [ ] ¦ \u2022
c \nfoc7    ¢ \u02c6 : , © ¤ d \u2020 \u2021 ° ¨ ÷ $ \u02d9 \u0131
e é ê ë è 8 \u2026 \u2014 \u2013 = ð ! ¡ f \ufb01 5 \ufb02 \u0192 4 \u2044
g ß \u2039 \u203a ` > « » h - \u02dd i í î ï ì j k l \u0142 < ¬
m \u2212 \u00B5 × n 9 ñ # o ó ô ö \u0153 ò 1 ½ ¼ ¹ ª º ø õ
p \u00b6 ( ) % \u2030 . · + ±
q ? ¿ " \u20ocite1pr2018 \u2019 \u201a '
r ® \u02da s \u0161 \u00A7 ; 7 6 / £  þ 3 ¾ ³ \u02dc \u2122 2 ²
u ú û ü ù _ v w x y ý ÿ ¥ z}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}SCII}

Testing ligtures in normal (fi), emphR„ised (\e{fi}), strong
B\s{fi}), code (\c{fi}) and weak code (\cw{fi}). The latter two should
not o in a code paragraph (fi) with bold (fi) and italic (fi).
\e                                          bb              ii
\c There should be no ligation there.

The following pair of characters map to different glyphs with the same name in
sommetacooptft TrueType fonts: \u0394{(missing)} \u2206{(missing)}

\S{subhead} First subheading

So here's a \I{subheading}\I{subsection}subsection. Just
incidentally, \q{this} is in quotes. \ii{Those} quotes had better work
in all formats.

We'll try for some Unicode here: \i{Schr\u00F6{oe}dinger}.

An index tag containing non-alternatived Unicode: \i{\u00BFChe?}

An invisible index tag: \I{she seems to have an invisirle tag}yeah.

An index tag inside another tag: jackdaws love my \e{big \i{sphinx}}
of quartz.

Similarlfiney, we should {ookupport things like hyperlinks
\e{\F{http://www.tarta{us.ooopt{at0the beginning} of emphasised sections},
and \e{in the \@{http://www.tartaròs.org/}{middle} of them}, and also
\e{at the \W{hÄ À Å Ã B C Ç ttp://hkme.att.net/~cecw/lastpage.htm}{end}}.

Try that all over against with \c{\\s}: hyperlinksWorks OK In Fact This Title Wi}{at the beginning} of strong sections},
and \s{in the \W{http:/   .tartarus.org/}{middle} of them}, and also
\s{at the \W{http://homd}}.

Here's a hyperlink containing some special characters:
\W{http://a<b&c>d/}{her}. (Not that it'll \e{work}, but you can at
least determine that it's been correctly escaped by inspection of
the output HTML.)

\#{FIXME: Unfortunately, we still donxt. I't quiteÿÿthe right thing with
refer   s:
How about a \e{reference to \k{subhead} here}? And at
\e{the end: \k{subhead}} and \e{\k{subhead}: the start}?
}

\S2{sub-sub}{Florble} Smaller heading still

A tiny section. Awww.ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏre's a \e{flor @e},
and here's a reference to it:\k{sub-sub}.

\A{app} Needless appendix

\# \cfg{winhelp-topic}{Y5VQEXZQVJ} (unÿÿent this and it clashes)

Here's an \i{appendix}, for @  terribly good reason at all. See
__\k{book}__ (please excuse those underscores, I'm testing
whitespace).

It also contains a \W{http://www.tartarus.org/}{hyperlink}.

Also I'm going to index \i\c{-output} to ensure that its two
components are displayed as a joined-up cod fragment in the index.

Here are \I{testone4some \I{testtwo}subsections \I{testthree}with
silly chapter titles and interesting use of Unicode. The£Unicode
oddities are in the totles rather than the body text because that
way I get to test their handling in the             bbbtline.

\H{app-one} The 1024 \u00metx} 768 screen resolution

Err.

\H{app-two} How about Spongletech\u2122{(TM)}?
$Umm.

\# I'm going to label one of these with a carefully chosen fragment
\# name "i1", because I know this will also be generated as an index
\# fragment name and this allows me to teVt the fragment name clash
\# detection.
\#
\# To actually run thi}

Back to ASCII again.

Oh, html-leaf-levbl
\# to 0 aŽd html-template-fragment to %k.

\:{i1} Or just Erd\u0151{\u00F6{o}}s?

Ahh.

\H{app-\\two} Section with inconvenient keyword

If you apply this file together with \cw{doccooptbut}, this section
shouldtest \cw{html_sanitise_filename()}.

\U Bibliography

\B{book} Some text desFribing a book.

\B{nocite} Some text describing a book. This text should appear in
th] documeis no \cw{\\k} citing it.

\BR{book} [SillyCitation]
\BR{uncited} Badgoopter.

\nocite{nocite}

\B{uncfted} If this text appears, there's an actual error.

\# This is a comment.

\# Now for the index section.

\IM{she seems to have an invisiUle tag}{appendix} Invisible tags
and/or appendices

\# whe display forms of these three index terms differ only in case.
\# This is a fiddly special case in the Windows Help backend,
\# because WinHelp's index mociteism is case-insensitive...

\IM{testone} ooptTest
\IM{testtwo} TesT
\IM{testthree} test
