GNU Source-highlight, given a source file, produces a document with
syntax highlighting.
You can also find details about new features of source-highlight on my
blog, in this area:
http://tronprog.blogspot.com/search/label/source-highlight.
At the moment this package can handle
* C/C++
* C#
* Bib
* Bison
* Caml
* Changelog
* Css
* Diff
* Flex
* Fortran
* Haxe (new)
* Html
* ini files (new)
* Java
* Javascript
* KDE desktop files (new)
* Latex
* Logtalk
* Log files
* lsm files (Linux Software Map) (new)
* Lua
* Makefile
* M4
* ML
* Pascal
* Perl
* PHP
* Postscript
* Prolog
* Properties files (new)
* Python
* RPM Spec files (new)
* Ruby
* Shell
* S-Lang
* Sql
* Tcl
* XML
as source languages, and
HTML
XHTML
ANSI color escape sequences
LaTeX
Texinfo
DocBook (new)
as output format.
Source-highlight depends on the Boost regex library
(http://www.boost.org/) so you need to install this library (boost
libraries are usually shipped with most distributions).
Source-highlight can also generate cross references; in order to do this
it relies on GNU Ctags, http://ctags.sourceforge.net.
Version 2.9
* language definition for C (not C++) files
* language definition for properties files
* language definition for KDE desktop and ini files
* language definition for lsm files (Linux Software Map)
* language definition for rpm spec files
* language definition for Haxe files (thanks to Jos Hirth)
* style.defaults for associating a style for an element (whose style is
not specified) to the style of another element
* highlight some KDE programming files (e.g., .rc, .kcfg, etc.)
* correctly highlight for less when filenames contain paths
* fixed a bug in file inclusion of langdef files
* fixed compilation problems for fileutil.cc (thanks to Adrian Reber)
* xml elements are correctly recognized when containing .
(thanks to Toby White)
* references for xhtml output files
Visit the Source-highlight home page at
http://www.gnu.org/software/src-highlite
Anonymous CVS access is also available. Please visit
http://savannah.gnu.org/projects/src-highlite/
where you can find detailed descriptions of how to access the CVS
(read-only). Release-candidate versions are available
through CVS.
Bug reports should go to bug-source...@gnu.org.
The following mailing lists are available:
* help-sourc...@gnu.org, for generic discussions about the
program and for asking for help about it (open mailing list),
http://mail.gnu.org/mailman/listinfo/help-source-highlight
* info-sourc...@gnu.org, for receiving information about
new releases and features (read-only mailing list),
http://mail.gnu.org/mailman/listinfo/info-source-highlight
if you want to subscribe to a mailing list just go to the URL and follow
the instructions, or send me an e-mail and I'll subscribe you.
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net