Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 15 Converting to DITA XML > 15.4 Configuring DITA elements > 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:
; Frame character format (wildcards OK) = DITA typographic elements
CharFmtName = typelem1 typelem2 ...
Likewise for paragraph formats:
; 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:
List the elements separated by spaces:
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.