##### 43.3.3.4 Specifying a file-name prefix or suffix

You can specify a prefix, a suffix, or both, for format-based names of HTML output files:

    [StyleFilePrefix]
    ; doc format = prefix to use (if any) for file name in para content
    parafmt=splitfileprefix

    [StyleFileSuffix]
    ; doc format = suffix to use (if any) for file name in para content
    parafmt=splitfilesuffix

If you are splitting files at Heading1 paragraphs, for example, you could specify the following properties:

    [HTMLParaStyles]
    Heading1=Split Title FileName

    [StyleFilePrefix]
    Heading1=ug

    [StyleFileSuffix]
    Heading1=03

If a given instance of Heading1 consists of the text “Getting Started”, the resulting HTML filename would be ugGettingStarted03.htm.

You can use macros and macro variables (see §37.1 Defining and invoking macros) in sections [StyleFilePrefix] and [StyleFileSuffix].

Previous Topic: 43.3.3.3 Creating special paragraph formats to name output files

Next Topic: 43.3.3.5 Constructing file names from multiple paragraph formats

Parent Topic: 43.3.3 Using paragraph formats to name output files

Sibling Topics:

43.3.3.1 Constructing file names based on paragraph content

43.3.3.2 Basing output file names on existing paragraph formats

43.3.3.3 Creating special paragraph formats to name output files

43.3.3.5 Constructing file names from multiple paragraph formats

43.3.3.6 Preventing duplicate file names based on paragraph formats

Table of Contents • Index