WebMaker recognizes the ANGLE
, FAMILY
, VAR
and WEIGHT
parameters of FrameMaker characters. WML character conversion rules may specify different combinations of these parameters to match characters with no tags but with formatting applied to them and map them to HTML highlights.
The syntax is:
CHARACTER { ANGLE "name-of-angle" FAMILY "name-of-font-family" VAR "name-of-variation" WEIGHT "name-of-weight" MAP HTML-highlight-name> }
where:
ANGLE
, FAMILY
, VAR
, WEIGHT
Big
, Bold
, Cite
, Code
, Definition
, Emphasise
, Italic
, Keyboard
, None
, Sample
, Small
, Strong
, Strikethrough
, Subscript
, Superscript
, Teletype
, Underline
, Variable.
You can map a character tag to None
to give those characters no HTML highlight.
Characters can match more than one format override rule. For example, consider characters whose angle is Oblique and family is Courier. Those characters match both these rules:
CHARACTER { ANGLE "Oblique" MAP Italic } CHARACTER { ANGLE "Oblique" FAMILY "Courier" MAP Variable}
In cases where characters match more than one format override rule, the most detailed rule takes precedence. In the preceding example, the second rule is more detailed than the first rule because it specifies more aspects of the characters. Thus, the second rule is used for those characters.