enscript

Mike Reinehr cmr
Mon Nov 14 10:51:48 PST 2005


On Thursday 10 November 2005 03:31 pm, Jorge Almeida wrote:
> I just noticed that the "--pretty-print" option of enscript is nowhere
> to be found in the man page (or in info enscript). It still works, but
> it became a secret. I can't be sure whether it was in previous versions
> of the manual. Can it be  that it was forgotten when writing the man
> page, or is there some more arcane reason?

The options '--pretty-print' and '--help-pretty-print' have been renamed to 
'--highlight' and '--help-highlight' in version 1.6.3.

>From the News.gz file:

Noteworthy changes in enscript version 1.6.3:

* Changes in the highlighting / pretty printing

  - The `States*' config file options have changed.  The new options
    are:
      - StatesBinary		specify an absolute path for `states'
      - StatesColor		use colors in the highlighting outputs?
      - StatesConfigFile	config file name (enscript.st)
      - StatesHighlightStyle	highlighting style
      - StatesPath		path from which the states is looking
				up the state definition files (.st)

  - Support for user defined local highlighting definitions and styles.
  - new option `--style=STYLE' to specify the highlighting style
  - Verbose highlighting for the C, C++, and Objective-C languages.
    In the verbose highlighting, some mathematical constructs (&&, ||,
    !=, etc.) are replaced with the corresponding mathematical symbols
    (logical and, logical or, not equal, etc.).  The mode can be
    enabled with option `--style=emacs_verbose'.
  - renamed `--pretty-print' and `--help-pretty-print' options to
    `--highlight' and `--help-highlight'

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



More information about the Linux-users mailing list