summaryrefslogtreecommitdiff
path: root/inputs/test.but
blob: f605fe63c8e9cc996f1ec60191d2cd003efaa29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
\title Buttress: A Test Document

\preamble This manual is a small joke effort, designed to use every
feature that Buttress's input format supports.

\copyright Copyright 1999 Simon Tatham. All rights reserved.

\C{chap} First chapter title

This is a paragraph of text. It
has line breaks in   between words, multiple   
  spaces (ignored), and \e{emphasised text} as well as \c{code
fragments}.

\cw{This} is weak code. And \k{sect} contains some other stuff.
\K{head} does too.

\S{sect} First section title

Here's a code paragraph:

\c No leading spaces
\c  One leading space
\c Blank line follows this one.
\c
\c
\c
\c
\c Blank line precedes this one.
\c   Two leading spaces
\c We can use \ { and } with impunity here.

This is a list:

\b Ooh.

\b Aah.

\b Eek.

This is a numbered list:

\n Ooh.

\n{keyword} Aah.

\n Eek. `Aah' is point \k{keyword}.

Oh, while I'm here: some special characters. The \\, \{ and \}
characters, to be precise. And their code equivalents, \c{\\},
\c{\{}, \c{\}}.

\H{head} First subheading

So here's a subsection. Just incidentally, `this' is in quotes.
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 invisible tag}yeah.

\A{app} Needless appendix

Here's an \i{appendix}, for no terribly good reason at all. See
\k{book}.

\U{bib} Bibliography

\B{book} Some text describing a book.

\B{nocite} Some text describing a book. This text should appear in
the document even though there is no \cw{\\k} citing it.

\nocite{nocite}

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

\# This is a comment.

\# Now for the index section.

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