GNU Source-highlight 2.5 reviewDownload
GNU Source-highlight produces a document with syntax highlighting when given a source file. Source-highlight reads source languag
GNU Source-highlight produces a document with syntax highlighting when given a source file.
Source-highlight reads source language specifications dynamically, thus it can be easily extended (without recompiling the sources) for handling new languages.
GNU Source-highlight also reads output format specifications dynamically, and thus it can be easily extended (without recompiling the sources) for handling new output formats. The syntax for these specifications is quite easy (take a look at the manual).
Since version 2.2, source-highlight can also generate cross references; in order to do this it relies on GNU Ctags.
These are the output formats already supported:
ANSI color escape sequences (you can use this feature with less)
These are the input languages (or input formats) already supported (in alphabetical order):
What's New in This Release:
Some fixes in configuration files.
Debugging of language definitions can be interactive.
It can format input files with no highlighting (so that it can be used as a simple output generator, dealing with output format special characters).
It can infer script languages.
--header and --footer options do not require the --doc option.
--statistics prints elapsed time.
This release highlights cls, dtx, and sty LaTeX files.
There are language definitions for Tcl, SQL, and BibTeX.
GNU Source-highlight 2.5 search tags