Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.4 Mapping character formats to DITA inline elements > 15.4.4.2 Including typographic elements in addition to mapped formats


15.4.4.2 Including typographic elements in addition to mapped formats

You can add typographic elements in addition to the element to which a FrameMaker character format is mapped.

To include typographic elements in DITA XML output:

[Typographics]

; UseTypographicElements = No (XML default, suppress b, i, u, tt, sub,

; and sup even when specified in a format) or Yes (HTML default)

UseTypographicElements = Yes

When UseTypographicElements=Yes, typographic elements b, i, u, tt, sup, and sub appear in DITA XML output in addition to any elements to which character formats are mapped. If your FrameMaker document includes change bars or overlines those are also represented as elements in DITA XML: 

Change bars become <chbar> elements; to convert them instead to attributes, see §15.4.6.7 Converting FrameMaker change bars to condition attributes.

Overlines become <over> elements.

If any character formats are mapped to elements, and your project configuration file includes a UseTypographicElements setting, to avoid double nesting make sure you use the XML default value: UseTypographicElements=No.

Incorporate typographic elements sparingly, especially if you are using <outputclass>; see §15.4.6.6 Providing outputclass attributes for all elements. DITA asks for semantic, not presentational, tags. It is best to let CSS handle the presentation later.

See also:

§15.4.5 Assigning multiple typographic elements to a format

§21.8 Managing typographic elements for HTML or XML



15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.4 Mapping character formats to DITA inline elements > 15.4.4.2 Including typographic elements in addition to mapped formats