### 6.10 Specifying options for special lists

By default, DITA2Go renders definition lists and parameter lists as tables rather than as lists. You can have them rendered as text lists instead, except when they occur inside tables. This means you can, for example, use a list format for ePub output and a table format for HTML or PDF output, without involving conditions or making any change in the source topics or maps.

To render definition or parameter lists as lists, not tables:

    [TableOptions]
    ; DefinitionListTables = Yes (default, render definition lists as
    ; tables) or No (render them as text lists).
    DefinitionListTables = No
    ; ParameterListTables = Yes (default, render parameter lists as
    ; tables) or No (render them as text lists).
    ParameterListTables = No

To specify table formats for definition lists and parameter lists when they are rendered as tables:

    [TableOptions]
    ; DefListTableFormat = table format when DefinitionListTables=Yes
    DefListTableFormat = DefListTable
    ; ParamListTableFormat = table format when ParameterListTables=Yes
    ParamListTableFormat = ParamListTable

These are the default table formats for definition lists and parameter lists; you can find them in %OMSYSHOME%\d2g\system\formats\d2htm_tables.ini and %OMSYSHOME%\d2g\system\formats\d2rtf_tables.ini. Copy the format definitions to the corresponding local format configuration files to modify them.

Note: Formats for list items that occur in tables converted from special lists always have names that end in Tbl.

To override the default relative column widths (25% and 75%) for definition and parameter lists when they are rendered as tables:

    [TableOptions]
    DefListTableColWidths = leftcolwidth rightcolwidth
    ParamListTableColWidths = leftcolwidth rightcolwidth

These settings take the standard DITA column width syntax, overriding the built-in 25* 75* setting.

Previous Topic: 6.9 Specifying formats and options for tables

Next Topic: 6.11 Specifying options for draft comments

Parent Topic: 6. Mapping elements to output formats

Sibling Topics:

6.1 Understanding how to assign formats

6.2 Specifying options for naming formats

6.3 Mapping outputclass attribute values to formats

6.4 Mapping element paths to output formats

6.5 Mapping element attributes to output formats

6.6 Specifying formats for cross references

6.7 Specifying formats for footnotes

6.8 Specifying options for figures

6.9 Specifying formats and options for tables

6.11 Specifying options for draft comments

6.12 Specifying options for maps

6.13 Deciding where to display title and shortdesc

Table of Contents • Index