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.9 Overriding variable-key configuration settings > 33.2.9.1 Overriding paragraph and character format properties


33.2.9.1 Overriding paragraph and character format properties

You can override character and paragraph format settings in the configuration sections listed in Table 33-3. For example, to specify new properties for a single paragraph in HTML, you could insert in the paragraph an HTMConfig marker with content different from the default:

[HTMLParaStyles]Size5 Bold

In a macro, you would specify:

<$$[HTMLParaStyles]Size5 Bold>

Temporary overrides

Most configuration settings for text properties can apply to either a paragraph format or a character format. Temporary overrides lack a key to name the format to be affected; therefore, for a temporary override, where in the text you place the configuration marker with respect to paragraph and character formats is critical:

A temporary-override marker placed in a paragraph but not in a character span affects the entire paragraph, even if character spans intervene or end the paragraph.

If a paragraph starts with a character span, whether you place the marker for a temporary override before or after the start of the character format determines whether the override applies to the paragraph or to the character span. Check the FrameMaker status bar when you insert the marker, to see which format is shown.

A temporary-override marker placed in the span of a character format affects only the current span; the end of the character span resets the override, and it has no further effect, even if the same character format is used again in the same paragraph.

Persistent overrides

A persistent override affects the next instance of the paragraph or character format named by the Key in [Section]Key=Value, or the current instance if the marker is placed in a matching paragraph or character span; plus all subsequent instances in the same FrameMaker file, unless changed again by a later override.

Markers in replaced text are ignored

For [ParaStyleCodeReplace], if placement code is already in effect because it was specified in the configuration file, any configuration marker in the replaced text is ignored. This means you cannot use a temporary override in a configuration marker for the replacement; instead you must use a persistent override that names the format to be replaced, and insert the configuration marker before the text to be replaced.

Place overrides to code with care

For [HTMLParaStyles] and [HTMLCharStyles], temporary overrides to Delete assignments must be inserted before the first text in the affected paragraph or character span. Persistent overrides should be placed before the affected paragraph or character span.

Table 33-3 Text configuration sections subject to overrides

Text configuration section

HTML/XML

Word

WinHelp

[AnumCodeAfter]

Yes

Yes

Yes

[AnumCodeBefore]

Yes

Yes

Yes

[CharStyleCodeAfter]

Yes

Yes

Yes

[CharStyleCodeBefore]

Yes

Yes

Yes

[CharStyleCodeEnd]

Yes

Yes

Yes

[CharStyleCodeReplace]

Yes

Yes

Yes

[CharStyleCodeStart]

Yes

Yes

Yes

[CharStyleCSS]

Yes

 

 

[CharTags]

Yes

 

 

[ExtrBottom]

Yes

 

 

[ExtrHead]

Yes

 

 

[ExtrReplace]

Yes

 

 

[ExtrTitle]

Yes

 

 

[ExtrTop]

Yes

 

 

[HelpBrowsePrefixStyles]

 

 

Yes

[HelpCntStyles]

 

 

Yes

[HelpContentsLevels]

Yes

 

 

[HelpJumpFileStyles]

 

 

Yes

[HelpKeywordStyles]

 

 

Yes

[HelpMacroStyles]

 

 

Yes

[HelpRefStyles]

 

 

Yes

[HelpReplacements]

 

 

Yes

[HelpStyles]

 

 

Yes

[HelpSuffixStyles]

 

 

Yes

[HelpTitleSufStyles]

 

 

Yes

[HelpTopicBuildStyles]

 

 

Yes

[HelpWindowStyles]

 

 

Yes

[HTMLCharStyles]

Yes

 

 

[HTMLParaStyles]

Yes

 

 

[LocalTOCLevels]

Yes

 

 

[ParaStyleCodeAfter]

Yes

Yes

Yes

[ParaStyleCodeBefore]

Yes

Yes

Yes

[ParaStyleCodeEnd]

Yes

Yes

Yes

[ParaStyleCodeReplace]

Yes

Yes

Yes

[ParaStyleCodeStart]

Yes

Yes

Yes

[ParaStyleCSS]

Yes

 

 

[ParaTags]

Yes

 

 

[SecWindows]

Yes

 

 

[StyleCellAbbr]

Yes

 

 

[StyleCellAttribute]

Yes

 

 

[StyleCellAxis]

Yes

 

 

[StyleCellScope]

Yes

 

 

[StyleCodeStore]

Yes

Yes

Yes

[StyleFilePrefix]

Yes

 

 

[StyleFileSuffix]

Yes

 

 

[StyleLinkSrc]

Yes

 

 

[StyleMetaName]

Yes

 

 

[StyleParaLinkClass]

Yes

 

 

[StyleRowAttribute]

Yes

 

 

[StyleTextStore]

Yes

 

 

[StyleTitlePrefix]

Yes

 

 

[StyleTitleSuffix]

Yes

 

 

[StyleTrailPrefix]

Yes

 

 

[StyleTrailSuffix]

Yes

 

 

[Targets]

Yes

 

 

[TrailLevels]

Yes

 

 

[WordCntStyles]

 

Yes

 

[WordReplacements]

 

Yes

 

[WordStyles]

 

Yes

 



33 Overriding configuration settings > 33.2 Overriding settings with markers or macros > 33.2.9 Overriding variable-key configuration settings > 33.2.9.1 Overriding paragraph and character format properties