### 15.4.5 Assigning multiple typographic elements to a format

Mif2Go suppresses overrides that are not part of a paragraph or character format, and uses only the single element mapped from the format name in [DITAParaTags] or in [DITACharTags]. This can be problematic if, for example, a character format should map to both <b> and <i>. In that case, you have to map the format to one of the elements in [DITACharTags], and assign the other(s) as follows:

[DITACharTypographics]

; Frame character format (wildcards OK) = DITA typographic elements

CharFmtName = typelem1 typelem2 ...

Likewise for paragraph formats:

[DITAParaTypographics]

; Frame paragraph format (wildcards OK) = DITA typographic elements

ParaFmtName = typelem1 typelem2 ...

You can assign any or all of b, i, u, tt, sup, or sub, in addition to the element to which the format is mapped in [DITAParaTags] or in [DITACharTags]. You must map the format to an element (not to No) in [DITAParaTags] or in [DITACharTags], then add the rest of the elements (but not the one already mapped) here. For example:

[DITACharTags]

CodeBoldItal = tt

List the elements separated by spaces:

[DITACharTypographics]

CodeBoldItal = b i

The tags are applied in the order listed. For example, with these settings a CodeBoldItal text fragment would be enclosed in <tt><b><i>...</i></b></tt>.

We advise minimal use of this feature. Typographic presentation markup is best left to later processing, such as with a CSS rule based on the outputclass attribute of the DITA semantic element. For example, map character format CodeBoldItal to <ph>, and expect the HTML output to produce <span class="codeboldital">, which can be handled by CSS for selector span.codeboldital.

See §15.4.6.6 Providing outputclass attributes for all elements.

| 15.4.4.5 Using alternate character formats for menu cascades |  | 15.4.6 Assigning attributes to DITA elements |