www.delorie.com/gnu/docs/a2ps/a2ps_92.html   search  
Buy GNU books!

General Purpose PostScript Generating Utility

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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:

As an example, both C++ and Objective C style sheets extend the C style sheet:

style "Objective C" is
ancestors are
end ancestors
end style

To the biggest surprise of the author, mutually dependent style sheets do work!

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003