Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

17 Splitting and extracting files > 17.4 Identifying split and extract files > 17.4.2 Specifying page titles for split or extract files > 17.4.2.7 Assigning a computed title


17.4.2.7 Assigning a computed title

If titles for your HTML pages can be determined based on the value of a macro variable, or on values obtained by expanding a macro, you can assign the macro or macro variable to the [HTMLOptions]Title keyword.

For example, to provide a page title that consists of the FrameMaker source file name followed by an integer that increments for each HTML file generated:

[HTMLOptions]

Title=<$PageTitle>

[PageTitle]

<$$_basefile><$$PgNumber++ as %-0.3d>

[MacroVariables]

PgNumber=0

Any other title specification overrides a computed [HTMLOptions]Title value.

See also:

§27.1 Defining and invoking macros

§27.2.3 Incrementing and decrementing macro variables

§27.5.3 Displaying expression results in output



17 Splitting and extracting files > 17.4 Identifying split and extract files > 17.4.2 Specifying page titles for split or extract files > 17.4.2.7 Assigning a computed title