Including a Table of Contents in a Document
Prerequisite: Arbortext XML DocBook document type
You can choose whether or not to include a table of contents in your document. The table of contents includes entries for:
• Preface
• Parts
• Chapters
• sect1 and sect2 titles
• Figures
• Tables
• Appendices
• Index
A table of contents is generated by including the toc element in the document. This element must immediately follow the bookinfo element.
To include a table of contents:
1. Place the insertion point to the right of the bookinfo end tag.
|
If the dedication element immediately follows bookinfo, the toc element must be inserted after the dedication element.
|
2. Choose > .
3. In the Insert Markup dialog box, select ALL from the Category list.
4. Scroll down in the element list, and select toc.
5. Click OK. A table of contents will automatically be generated.
|
Do not include any markup in the toc element. Leave it empty. Including markup in the toc element can produce undesirable formatting results.
|
Related information