#### 7.4.1 Assigning values to format properties

To define an output format, create a section named for the format in the appropriate format configuration file. The settings in this section are all of the form property = value:

    [FormatName]
    property1 = value1
    property2 = value2a value2b value2c ...
    . . .

The collection of properties you can specify depends on which kind of format you are defining: paragraph, character, component, table, or page. For example, for a paragraph format named Heading1 you might specify the following properties:

    [Heading1]
    based = Body
    section = Section
    keep = next
    break = page
    font size = 20pt
    font weight = bold
    margin top = 18pt
    margin bottom = 6pt

You can use macros in output-format settings. However, you cannot define macros in a format configuration file; you must define them in macro libraries. See §37.2.4 Including macro definitions in your own macro library.

Previous Topic: 7.4 Understanding how to define output formats

Next Topic: 7.4.2 Understanding the basis of format properties

Parent Topic: 7.4 Understanding how to define output formats

Sibling Topics:

7.4.2 Understanding the basis of format properties

7.4.3 Basing format properties on other formats

7.4.4 Modifying DITA2Go default output formats

7.4.5 Applying CSS and RTF code to output formats

7.4.6 Assigning content-adding properties to formats