(a2ps.info)Style Sheets Implementation
7.6 Style Sheets Implementation
===============================
In the previous section (Note: Style sheets semantics) were explained
the various items needed to understand the machinery involved in pretty
printing. Here, their implementation, i.e., how to write a style sheet
file, is explained. The next section (Note: A tutorial on style
sheets), exposes a step by step simple example.
A Bit of Syntax- Lexical rules of the ssh language
Style Sheet Header- Declaration of a style
Syntax of the Words- Classes of the Characters
Inheriting- Extending existing style sheets
Syntax for the P-Rules- Atomic Pretty Printing rules
Declaring keywords and operators- Special Classes of Identifiers
Declaring sequences- Bordered Lexical Entities
Checking a Style Sheet- Ask a2ps to Check the Sheet
automatically generated by info2www version 1.2.2.9