Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

31 Overriding configuration settings > 31.2 Overriding settings with markers or macros > 31.2.7 Overriding fixed-key configuration settings


31.2.7 Overriding fixed-key configuration settings

An override to a fixed-key configuration setting stays in effect until the end of the current FrameMaker file, or until changed again by another configuration marker or configuration-variable assignment to the same setting. You can override some (but not all) settings in the configuration sections listed in Table 31-2. For example, to switch mid-file to adjusting inter-paragraph spacing in Word: 

[spacer]

Configuration setting

RTFConfig override

[Options]

ParaSpace=Normal

[Options]ParaSpace=Frame

Only persistent overrides work for fixed-key settings; temporary overrides do not work. Also, persistent overrides work only for fixed-key settings that do not have to apply to an entire FrameMaker file. For instance, it would make no sense to try to change, in the middle of a file, the value of [FDK]ApplyTemplateFile; applying a conversion template is a one-time function that takes place before Mif2Go processes the file content. Other settings such as [WordOptions]SideHeads affect margins, and must apply to an entire file.

You can override a fixed-key setting with a configuration-variable assignment in a regular Mif2Go macro instead of in a marker. For example, suppose your document contains white text that you do not want to display in HTML output; so, in the configuration file you include the following setting:

[HTMLOptions]

HideWhiteText=Yes

But suppose your document also includes some white headings, in paragraph format Head1, that are displayed inside a black box provided in a Frame Below with negative space. You could use macros to override the HideWhiteText setting for these headings:

[StyleCodeBefore]

Head1=<$$[Options]HideWhiteText=0>

[StyleCodeAfter]

Head1=<$$[Options]HideWhiteText=1>

See §27.7.3 Surrounding or replacing text with code or macros.

 

Table 31-2 Fixed-key configuration sections subject to overrides

Fixed-key configuration section *

HTML/XML

Word

WinHelp

* Some settings cannot be overridden in these sections; you might have to experiment.

[Base]

Yes

 

 

[Classes]

Yes

 

 

[Defaults]

 

Yes

Yes

[FDK]

Yes

Yes

Yes

[GraphExport]

Yes

Yes

Yes

[Graphics]

Yes

Yes

Yes

[HelpBrowse]

 

 

Yes

[HelpContents]

 

 

Yes

[HelpOptions]

 

 

Yes

[HTMLOptions]

Yes

 

 

[Inserts]

Yes

Yes

Yes

[JavaHelpOptions]

Yes

 

 

[LocalTOC]

Yes

 

 

[Macros]

Yes

 

 

[MSHtmlHelpOptions]

Yes

 

 

[NavigationMacros]

Yes

 

 

[OmniHelpOptions]

Yes

 

 

[Options]

Yes

Yes

Yes

[Tables]

Yes

 

 

[Trails]

Yes

 

 

[WordOptions]

 

Yes

 



31 Overriding configuration settings > 31.2 Overriding settings with markers or macros > 31.2.7 Overriding fixed-key configuration settings