Next: , Previous: , Up: Style Sheets Implementation   [Contents][Index]


7.6.5 Syntax for the P-Rules

See P-Rules, for the definition of P-rule.

Because of various short cuts, there are many ways to declare a rule:

rules     ::= rule_1,rule_2...
rule      ::= ‘(lhs rhs)’
           | lhs srhs ;
lhs       ::= string | regex ;
rhs       ::= srhs,’ ...
srhs      ::= latex-keyword | expansion face
expansion ::= string | ‘\num | <nothing>;
face      ::= face-keyword | <nothing>;

The rules are the following: