14.7.2 Specifying output formats for the glossary

To specify output formats for the glossary:

[Glossary]
; GLSTitleFormat = format for the glossary title
GLSTitleFormat = GlossaryTitle
; GLSTOCFormat = format for TOC entry for the glossary title
GLSTOCFormat = GLS

Default formats for glossary components and references are specified in %OMSYSHOME%\d2g\system\config\d2g_config.ini:

[BlockFormatMaps]
glossarylist/* = GLS
glossarylist/booklists/backmatter/bookmap/1 = TOC2P
title/$topic/glossarylist/booklists/backmatter/$map/1 = GlossaryTitle
glossterm/* = Heading1
glossdef/* = Abstract
glossAbbreviation/* = Heading2S
glossAcronym/* = Heading2S
glossSynonym/* = Heading2S
gloss* = Body

[InlineFormatMaps]
glossPartOfSpeech/* = Bold
gloss* = No

See §6.4.2 Mapping block and inline element paths to formats. The formats are defined in %OMSYSHOME%\d2g\system\formats\d2htm_formats.ini (for HTML output) and d2rtf_formats.ini (for RTF output).

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.

See also §14.7.3.4 Formatting output for the abbreviated-form element.

Previous Topic:  14.7.1 Specifying file name and title for the glossary

Next Topic:  14.7.3 Configuring use of abbreviations for glossary terms

Parent Topic:  14.7 Producing a glossary

Sibling Topics:

14.7.1 Specifying file name and title for the glossary

14.7.3 Configuring use of abbreviations for glossary terms

Table of ContentsIndex