14.3.4 Specifying formats for TOC entries and references

To specify formats for TOC entries, title, and cross references:

[Contents]
; TOCFormat = format to use for TOC entries
TOCFormat = TOCItem  (not used currently)
; TOCTitleFormat = format for TOC title
TOCTitleFormat = ContentsTitle
; TOCLinkFormat = char format for TOC links to topics, used
; when the topicref has locktitle="yes" and a navtitle.
TOCLinkFormat = TOCLink
; TOCXrefFormat = xref subformat for TOC xrefs to topics,
; used when the topicref has locktitle="no", the default.
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.

All other values here are the default format names, specified in configuration template d2g_config.ini, located in directory %OMSYSHOME%\d2g\config. 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.3 Deciding what to include in the TOC

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

Parent Topic:  14.3 Generating a table of contents

Sibling Topics:

14.3.1 Deciding whether to produce a table of contents

14.3.2 Specifying a file name and title for the TOC

14.3.3 Deciding what to include in the TOC

14.3.5 Including navigation titles from maps in the TOC