Next Previous Up Top Contents Index

WebMaker User Guide

11.5.1 Table of contents and related rules

The table of contents rules are defined in the contents.wml library file. This file also contains example rules for creating similar kinds of rules, for list of figures, list of tables, list of markers and so on; see Section 12.10, "List of figures or tables in WML"

When you want to create a mapped table of contents (see Section 3.6.2, "Mapped table of contents"), you map the paragraph rules of the FrameMaker table of contents to the table of contents rules. For example, if your table of contents contains entries for Chapter and 1Heading, the paragraph tags are ChapterTOC and 1HeadingTOC. You could map the ChapterTOC paragraph tag to the TOC-Entry-1 rule and the 1HeadingTOC paragraph rule to the TOC-Entry-2 rule. These TOC-Entry rules vary only in the level of indentation.

Each of these rules work for a table of contents that has titles in one column and page numbers at the far right margin. These rules strip the last token from the line (on the assumption that it is the page number). If your table of contents has a different format, you can define custom TOC rules.

TOC-Entry-1

List

Specifies a table of contents entry with level 1 of indentation.

TOC-Entry-2

List

Specifies a table of contents entry with level 2 of indentation.

TOC-Entry-3

List

Specifies a table of contents entry with level 3 of indentation.

TOC-Entry-4

List

Specifies a table of contents entry with level 4 of indentation.

AML-Entry-1

List

Specifies an alphabetic marker list entry with level 1 of indentation.

APL-Entry-1

List

Specifies an alphabetic paragraph list entry with level 1 of indentation.

LOF-Entry-1

List

Specifies a list of figures entry with level 1 of indentation.

LOM-Entry-1

List

Specifies a list of markers entry with level 1 of indentation.

LOP-Entry-1

List

Specifies a list of paragraphs entry with level 1 of indentation.

LOT-Entry-1

List

Specifies a list of tables entry with level 1 of indentation.