diff options
Diffstat (limited to 'inputs/test.but')
| -rw-r--r-- | inputs/test.but | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/inputs/test.but b/inputs/test.but new file mode 100644 index 0000000..f605fe6 --- /dev/null +++ b/inputs/test.but @@ -0,0 +1,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 |