10.7 WML character rules

10.7.2 Syntax of untagged character rules

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 untagged FrameMaker character tags and associate 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

are keywords. At least one of these must appear. The order is not important. Any one may not appear more than once.

name-of-angle, name-of-font-family, name-of-variation, name-of-weight

are case-sensitive strings that specify the value of the corresponding formatting parameter.

HTML-highlight-name

may be one of: Bold, Cite, Code, Definition, Emphasise, Italic, Keyboard, Sample, Strong, Teletype, Underline, Variable.

Warning: The order that these rules appear in the WML file is significant. WebMaker converts untagged characters according to the first matched untagged character rule. For example, if the two rules are listed in a WML file:

CHARACTER { ANGLE  "Slanted" MAP Italic }
CHARACTER { ANGLE  "Slanted"
            FAMILY "Courier"
            MAP     Variable}
The second rule is never used, because any highlight that can be matched by the second also matches the first.

Warning: Due to differences in MIF syntax between FrameMaker 3.0 and FrameMaker 4.0, the conversion of untagged characters in documents created with FrameMaker 3.0 may not always give correct results.


WebMaker User Guide - 27 SEP 1995

Generated with Harlequin WebMaker