A minimal tbook file looks like this:
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE book PUBLIC "-//Torsten Bronger//DTD tbook 1.5.2//EN" "http://tbookdtd.sourceforge.net/tbook152.dtd"> <book xml:lang="en-GB"> <frontmatter> <title>A little book</title> <author>Torsten Bronger</author> </frontmatter> <mainmatter> <chapter> <heading>First Chapter</heading> <p>Small is beautiful.</p> </chapter> </mainmatter> </book>
On the following pages, some special expressions are used in the “Possible Contents”. First I explain what they mean.
The term “inline element” denotes the following elements:
The term “block element” denotes the following elements:
The term “figure/table” actually denotes the elements
<table>, but where they are allowed, the two “big block”
<proof> are allowed, too.
Apart from that, in “Possible contents” the typical symbols of regular expression or EBNF are used:
An example: The element
<section> has the following “Possible
heading, (block | float)*, subsection*
This means in human words: The contents of every
element must start with one
<heading> element. This is
followed by an arbitrary number (also zero) of elements belonging to the
block or float category, in arbitrary order. After them
<subsection> elements, as many as you wish.
An online version of this element reference is available at