##### 27.5.2.3 Specifying a title prefix or suffix

If you assign titles with paragraph formats (see §27.5.2.2 Assigning a title with a paragraph format), you can also specify a prefix, a suffix, or both as part of the title. For example:

[HTMLParaStyles]
Heading2=Split Title

[StyleTitlePrefix]
; doc style = prefix to use (if any) for file title in para content
Heading2=Course IV:

[StyleTitleSuffix]
; doc style = suffix to use (if any) for file title in para content
Heading2= (draft 1)

With these settings, a Heading2 paragraph that has content Prerequisites would result in a split file with the following <title> element:

<title>Course IV: Prerequisites (draft 1)</title>

Excluded from trails and local TOCs

Any title prefix or suffix you specify with these settings is excluded from the title when it appears in a trail of links.

Trailing spaces

Trailing spaces you type at the end of the title prefix setting are included in the prefix.

Leading spaces

If you type one or more leading spaces after the equals sign at the beginning of the title suffix text, DITA2Go removes exactly one of them (see §3.4 Understanding the rules for configuration settings). If you want a single leading space for the title suffix, supply exactly two spaces after the equals sign.

Previous Topic: 27.5.2.2 Assigning a title with a paragraph format

Next Topic: 27.5.2.4 Assigning a title with a file name

Parent Topic: 27.5.2 Specifying page titles for split or extract files

Sibling Topics:

27.5.2.1 Understanding title assignment precedence

27.5.2.2 Assigning a title with a paragraph format

27.5.2.4 Assigning a title with a file name

27.5.2.5 Assigning a title with a marker

27.5.2.6 Assigning a default title

27.5.2.7 Assigning a computed title

Table of Contents • Index