#### 14.3.3 Specifying formats for TOC title, entries, and references

If your project produces more than one TOC, you can override the settings in this section with equivalent settings specific to each TOC; see §14.9 Configuring variant booklist components.

To specify formats for TOC title and cross references:

    [Contents]
    ; TOCFormat = format to use for TOC entries
    TOCFormat = TOC1
    ; TOCTitleFormat = format for TOC title
    TOCTitleFormat = ContentsTitle
    ; TOCXrefFormat = xref subformat for TOC xrefs to topics.
    TOCXrefFormat = TOCXref

The format for topicrefs, which turn into TOC entries, is the base map format name followed by a sequence number; see §6.12.1 Providing default output formats for map content. These formats are already mapped to a fairly deep level in configuration file d2g_config.ini, located in %OMSYSHOME%\d2g\configs. If you change any format names, you must either alias your names to the default names, or provide your own definitions in a format configuration file; see §7. Configuring output formats.

Previous Topic: 14.3.2 Deciding what to include in the TOC

Next Topic: 14.3.4 Including navigation titles from maps in the TOC

Parent Topic: 14.3 Generating a table of contents

Sibling Topics:

14.3.1 Specifying a file name and title for the TOC

14.3.2 Deciding what to include in the TOC

14.3.4 Including navigation titles from maps in the TOC