Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

21 Mapping text formats to HTML/XML > 21.5 Assigning properties to text formats > 21.5.3 Overriding properties added by typographic elements


21.5.3 Overriding properties added by typographic elements

To override properties added by typographic elements:

[HTMLParaStyles] or [HTMLCharStyles]

; Format (para or char) = keywords for functions and properties

; Bold, Ital, ULine, and Strike apply those char props to text

; Plain turns all four of those char properties off by default.

These are properties added by typographic elements, as opposed to CSS. The use case is for browsers that have poor support for CSS, such as JavaHelp and, to some degree, Eclipse Help. For current popular browsers, you are better off using CSS. However, if you are stuck with a company-mandated CSS and want to tweak something, you can use these properties as overrides.

To eliminate bold, italic, underline, and strikethrough properties (<b>, <i>, <u>, and <strike> tags) from selected paragraph or character formats:

[HTMLParaStyles] or [HTMLCharStyles]

Format = Plain

No overrides

Mif2Go preserves character overrides by default. To eliminate bold, italic, underline, and strikethrough properties (<b>, <i>, <u>, and <strike> tags) from all paragraph and character formats:

[HTMLOptions]

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

;  default for XML and DITA)

AllowOverrides = No

Override “no overrides”

You can still allow certain overrides on a format-by-format basis:

[HTMLParaStyles] or [HTMLCharStyles]

; Overrides allows text prop overrides for <b>, <i>, <u>,

;  and <strike>, even if [HTMLOptions]AllowOverrides is turned off

Format = Overrides

See also:

§21.8 Managing typographic elements for HTML or XML



21 Mapping text formats to HTML/XML > 21.5 Assigning properties to text formats > 21.5.3 Overriding properties added by typographic elements