##### 43.2.3.3 Creating special paragraph formats to name output files

A way to assign file names that is slightly less hazardous than using titles, but still unsafe, is to specify a special paragraph format to hold the names. If paragraphs in this format are used solely for naming files, most likely you do not want them to actually appear in the output. To prevent their appearance, specify the Delete property:

    [HtmlStyles]
    ParaFmt = FileName Delete

Insert a new element with @outputclass named for ParaFmt anywhere after a split heading and before the next split point. Although the element can be anywhere in the split file, usually you would put it right after the heading that starts the split. DITA2Go uses the content of that paragraph as the base part of the file name. The Delete property removes the paragraph from the HTML output (see §30.2.6 Eliminating unwanted paragraphs);.

Previous Topic: 43.2.3.2 Basing output file names on existing paragraph formats

Next Topic: 43.2.3.4 Specifying a file-name prefix or suffix

Parent Topic: 43.2.3 Using paragraph formats to name output files

Sibling Topics:

43.2.3.1 Constructing file names based on paragraph content

43.2.3.2 Basing output file names on existing paragraph formats

43.2.3.4 Specifying a file-name prefix or suffix

43.2.3.5 Constructing file names from multiple paragraph formats

43.2.3.6 Preventing duplicate file names based on paragraph formats