Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

33 Overriding configuration settings > 33.2 Overriding settings with markers or macros > 33.2.3 Overriding settings with macros


33.2.3 Overriding settings with macros

To change a configuration setting mid-document with a macro, you must include a configuration-variable assignment either in a code-type FrameMaker marker or (for persistent overrides only) in a configuration macro included in your configuration file or macro library.

The macro override choices apply as follows:

[spacer]

HTML Code marker

HTML output only; ignored for RTF output

Code marker

HTML or RTF output, wherever the setting is applicable

Mif2Go macro

HTML or RTF output, wherever the setting is applicable, but only for persistent overrides.

To change the value of a configuration setting with a macro in a marker, insert a marker of type Code or HTML Code at the place where you want the value to change, and supply as content for the marker a configuration-variable assignment constructed as described in §33.2.4 Assigning values to configuration variables.

For persistent overrides only, you can include the configuration-variable assignment in a configuration macro that applies the directive based on some condition; see §33.2.1 Determining the extent of a configuration override.



33 Overriding configuration settings > 33.2 Overriding settings with markers or macros > 33.2.3 Overriding settings with macros