(a2ps.info)Inheriting
7.6.4 Inheriting from Other Style Sheets
----------------------------------------
It is possible to extend an existing style. The syntax is:
ancestors are
ANCESTOR_1[, ANCESTOR_2...]
end ancestors
where ANCESTOR1 etc. are style sheet keys.
For semantics, the rules are the following:
- the ancestors are read in order;
- the definition of the current style is read last;
- it is always the last item read which wins (last defined alphabets,
case sensitivity, keywords, operators and sequences).
As an example, both 'C++' and 'Objective C' style sheets extend the
'C' style sheet:
style "Objective C" is
#[...]
ancestors are
c
end ancestors
#[...]
end style
To the biggest surprise of the author, mutually dependent style
sheets do work!
automatically generated by info2www version 1.2.2.9