XML technologies / DocBook / Generating (X)HTML / Generating tables of contents / Changing the depth of a table of contents
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
Besides choosing which elements appear in the table of contents, you can set the depth of the listed elements. The relevant parameter toc.section.depth defaults to 2. The table of contents therefore includes all levels through sect2; for a book, these are book, part, chapter, sect1 and sect2.
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