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 toc for the general table of contents and lot ( 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 elements tocfront, tocback, tocchap and tocpart were replaced by tocdiv and tocentry. For details, see DocBook 5: The Definitive Guide under toc.

 

  

back to top