Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

21 Mapping text formats to HTML/XML > 21.8 Managing typographic elements for HTML or XML > 21.8.2 Choosing how to treat typographic elements


21.8.2 Choosing how to treat typographic elements

To specify how typographic elements should be treated:

[Typographics]

; UseTypographicElements = Yes (HTML default) or No (XML default,

; suppress b, i, u, tt, sub, and sup even when specified in a format)

; UseFormatTypographics = Yes (default, use b, i, u, strike, sub

; and sup when set in paragraph or character formats), or No

; (suppress in both para and char formats)

; UseParagraphTypographics = Yes (default, use above when set in

; paragraph formats), or No (suppress in para formats)

; UseCharacterTypographics = Yes (default, use above when set in

; character formats), or No (suppress in char formats)

; UseTypographicStyles = No (default) or Yes (use tags below if set)

; typographic tag (b, i, u, strike, sub, sup) = tag to use instead,

; possibly followed by attributes. Replaces overrides if used

; while [HTMLOptions]AllowOverrides=Yes, UseTypographicElements=Yes,

; and UseFormatTypographics=No.

; Both "over" for overline and "chbar" for change bar can be used

; as pseudotags here.

[HtmlOptions]

; AllowOverrides = Yes (default) or No (ignore untagged char props,

;  default for XML and DITA)

You can choose to:

Suppress all typographics

Suppress typographics used as overrides

Suppress typographics in formats

Suppress typographics only in paragraph formats

Suppress typographics only in character formats

Replace typographics with other tags.

Suppress all typographics

To eliminate all typographic elements, both those used as overrides in FrameMaker and those that are intrinsic to a FrameMaker paragraph or character format:

[Typographics]

UseTypographicElements = No

When UseTypographicElements=No, all settings of character properties are eliminated, including font size, font color, and font name in addition to bold, italic, underline, strike, subscript, and superscript; regardless of whether those properties are intrinsic to a FrameMaker character or paragraph format or were applied as an override. This setting, UseTypographicElements=No, cannot be overridden by any other settings in section [Typographics], nor by [HtmlOptions]AllowOverrides. This is the appropriate value for DITA XML output; see §15.4.4 Mapping character formats to DITA inline elements.

Suppress typographics used as overrides

To suppress only those typographic elements used as overrides, but keep typographic elements intrinsic to formats:

[Typographics]

UseTypographicElements = Yes

UseFormatTypographics = Yes

[HtmlOptions]

AllowOverrides = No

When AllowOverrides=No, bold, italic, underline, strike, subscript, and superscript are eliminated when they are applied as overrides in FrameMaker; see §21.5 Assigning properties to text formats.

Suppress typographics in formats

To eliminate typographic elements that are intrinsic to formats, but keep overrides:

[Typographics]

UseTypographicElements = Yes

UseFormatTypographics = No

[HtmlOptions]

AllowOverrides = Yes

When UseFormatTypographics=No, intrinsic format properties eliminated include bold, italic, underline, strike, subscript, and superscript; however, font size, font color, and font name are retained in the output.

Suppress typographics only in paragraph formats

To eliminate typographic elements intrinsic to paragraph formats, but keep those intrinsic to character formats:

[Typographics]

UseTypographicElements = Yes

UseParagraphTypographics = No

UseCharacterTypographics = Yes

When UseParagraphTypographics=No, format properties intrinsic to paragraph formats are eliminated; these include bold, italic, underline, strike, subscript, and superscript. Font size, font color, and font name are retained in the output.

Suppress typographics only in character formats

To eliminate overrides and typographic elements intrinsic to character formats, but keep those intrinsic to paragraph formats:

[Typographics]

UseTypographicElements = Yes

UseParagraphTypographics = Yes

UseCharacterTypographics = No

[HtmlOptions]

AllowOverrides = No

When UseCharacterTypographics=No, format properties intrinsic to character formats are eliminated; these include bold, italic, underline, strike, subscript, and superscript. Font size, font color, and font name are retained in the output.

Replace typographics with other tags

To specify tags to use for individual typographic elements:

[Typographics]

UseTypographicElements = Yes

UseTypographicStyles = Yes

typographic = tag

When UseTypographicStyles=Yes, you can specify other tags to use in place of typographic elements. The typographic elements you can replace are b, i, u, strike, sub, and sup. You can also replace “pseudo tags” over for overline, and chbar for change bar. You can specify attributes as well. For example:

[Typographics]

UseTypographicStyles = Yes

i = emphasis

b = emphasis role="bold"

If UseFormatTypographics=Yes, the tags you specify replace any named typographics intrinsic to formats.

If [HtmlOptions]AllowOverrides=Yes, the tags you specify replace any named typographics used as overrides.



21 Mapping text formats to HTML/XML > 21.8 Managing typographic elements for HTML or XML > 21.8.2 Choosing how to treat typographic elements