Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 18 Splitting and extracting files > 18.4 Identifying split and extract files > 18.4.2 Specifying page titles for split or extract files > 18.4.2.4 Assigning a title with a file name

#### 18.4.2.4 Assigning a title with a file name

You can assign title text to the name of a split or extract file, to specify a title explicitly; this assignment takes precedence over a title for the same file specified with a format. You must assign the title text to the internal file name assigned by Mif2Go (see §18.4.1 Understanding how split and extract files are named), not to any replacement name you may have specified for a split or extract file. For example:

[Titles]

; html filename = title, overrides [HTMLParaStyles] Title setting

; for split or extract files, use FileID+UID, such as mr516387

af345674=HTML Help, JavaHelp, and Oracle Help for Java

ba134256=Export dialog

Macros and macro variables

You can use macros and macro variables in the [Titles] section. For example, suppose you want to use as a title the name of the FrameMaker file from which the HTML file was generated:

[Titles]

*=<$$_basefile>

This setting would provide the base name (without extension) of the FrameMaker source file as the title of each HTML output file. However, a more efficient way to do the same thing would be to assign macro variable <$$_basefile> to the Title keyword; see §18.4.2.7 Assigning a computed title.

See also:

§4.6 Using wildcards in configuration settings

§28.3.4 Using predefined macro variables