39.1.5 Understanding how format templates are organized

Your DITA2Go distribution includes the output-format configuration templates and files listed in Table 39-7. These files form their own side chain, branching from the general configuration chain of templates and files. To access this chain, the two DITA2Go output-category configuration templates, d2htm_config.ini and d2rtf_config.ini, respectively reference local_d2htm_formats.ini and local_d2rtf_formats.ini; and the latter in turn reference their template counterparts, then the rest of the format configuration chain.

For example, in d2rtf_config.ini:

[Templates]
Formats = %OMSYSHOME%\d2g\local\formats\local_d2rtf_formats.ini

Because the formats chain is referenced from the DITA2Go general configuration chain, you do not have to include a setting for Formats in your starting project configuration file, unless you are supplying your own separate formats configuration file(s).

Each of the main format configuration templates references a subformat configuration file and a table format configuration file. For example:

[Templates]
Subformats = %OMSYSHOME%\d2g\local\formats\local_d2htm_subformats.ini
Tables = %OMSYSHOME%\d2g\local\formats\local_d2htm_tables.ini

The RTF formats configuration template also references a subformat and a page-layout configuration file:

[Templates]
Subformats = %OMSYSHOME%\d2g\local\formats\local_d2rtf_subformats.ini
Tables = %OMSYSHOME%\d2g\local\formats\local_d2rtf_tables.ini
Pages = %OMSYSHOME%\d2g\local\formats\local_d2rtf_pages.ini

Table, subformat, and page-layout configuration files can be referenced only from a formats template, not from a general configuration template, nor from your project configuration file. DITA2Go ignores any such out-of-chain references to these files.

See §7.2 Working with format configuration files.

Previous Topic:  39.1.4 Understanding how macro libraries are organized

Next Topic:  39.1.6 Understanding how language templates are organized

Parent Topic:  39.1 Working with configuration templates

Sibling Topics:

39.1.1 Understanding how templates are organized

39.1.2 Understanding how templates are named

39.1.3 Understanding how templates are chained together

39.1.4 Understanding how macro libraries are organized

39.1.6 Understanding how language templates are organized