24.4.4.5 Using
alternate character formats for menu cascades
Because the DITA <menucascade>
element allows only <uicontrol>
as content, text is excluded; you cannot use spaces, or any other character
outside the <uicontrol>
format, as separators.
The workaround is to create two character
formats; for example, mc1
and mc2;
and apply them alternately to <uicontrol>
elements when those elements are in a <menucascade>.
You would map both formats to <uicontrol>:
[DITACharTags]
mc* = uicontrol
And indicate that the elements mapped
from both formats must be in a <menucascade>:
[DITAParents]
mc* = menucascade
See §24.5.2
Designating DITA ancestor elements.
Previous Topic:
24.4.4.4 Overriding
element mapping for character formats
Next Topic:
24.4.5 Assigning
multiple typographic elements to a format
Parent Topic:
24.4.4 Mapping
character formats to DITA inline elements
Sibling Topics:
24.4.4.1 Assigning
DITA elements to character formats
24.4.4.2 Including
typographic elements in addition to mapped formats
24.4.4.3 Specifying
a default element for unmapped character formats
24.4.4.4 Overriding
element mapping for character formats
Table of Contents • Index