14.3.2 Specifying a file name and title for the TOC

TOC file name

To specify a file name for the table of contents (HTML output only):

[Contents]
; TOCFile = base name to use for output TOC file, with suffix TOC
TOCFile = mapnameTOC
; TOCSuffix = suffix for the base file name, default TOC
TOCSuffix = TOC

If you specify a value for TOCFile, DITA2Go ignores TOCSuffix. See §14.2 Naming generated HTML list and index files.

TOC title

To specify a title for the table of contents, in the language configuration file referenced by your project:

[ContentsText]
; TOCTitle = title text for TOC
TOCTitle = Table of Contents

Each DITA2Go-supplied language configuration file includes a setting for TOCTitle; see §8.10 Localizing output headings, labels, and names. The value shown here is the default value specified in d2g_lang_en.ini. The <toc> @navtitle overrides the value of TOCTitle.

Previous Topic:  14.3.1 Deciding whether to produce a table of contents

Next Topic:  14.3.3 Deciding what to include 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.3 Deciding what to include in the TOC

14.3.4 Specifying formats for TOC entries and references

14.3.5 Including navigation titles from maps in the TOC