XML technologies / DocBook / Structural elements / Tables of contents
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
A table of contents (TOC) lists document titles, usually those of parts, chapters, appendices and sections. In practice, publishing systems normally generate tables of contents automatically rather than requiring manual entry.
More important is where to place it: at the beginning or end of the book? DocBook allows both. Put it at the beginning when readers work with a book and consult it, as with scientific literature, technical documentation and this book.
If a book is read like a novel, from beginning to end place the table of contents at the end to avoid revealing its content beforehand.
The DocBook versions differ as follows:
- DocBook 4
DocBook 4 provides the elements
tocfor the general table of contents andlot( list of titles) for figure, table, example and equation titles. For details, see DocBook: The Definitive Guide under toc and lot.- DocBook 5
DocBook 5 retains only
toc, and greatly simplifies the structure. The elementstocfront,tocback,tocchapandtocpartwere replaced bytocdivandtocentry. For details, see DocBook 5: The Definitive Guide under toc.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top