SlackBuilds Repository

14.0 > Development > source-highlight (3.1.7)

GNU Source-highlight

This program, given a source file, produces a document with syntax highlighting.
It also provides a C++ highlight library.

Source-highlight reads source language specifications dynamically, thus it can
be easily extended (without recompiling the sources) for handling new
languages. It 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).

Source-highlight is a command line program, and it can also be used as a CGI.

Notice that source-highlight can also be used as a formatter (i.e., without
highlighting): you can, for instance, format a txt file in HTML (and it will
take care of translating special characters, such as, <, >, &).

A common example:
less /usr/src/linux/kernel/panic.c

to tune the less, add in your .bash_profile these lines:
export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
export LESS=' -R '

Maintained by: powtrix
Keywords: ,source,code,highlight,syntax,tag,colors,styles

Homepage:
http://www.gnu.org/software/src-highlite

Source Downloads:
source-highlight-3.1.7.tar.gz (0ff81588d3536b4c4e571122ba940595)

Download SlackBuild:
source-highlight.tar.gz
source-highlight.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

[  Exec: 0.0302 sec  |  Load: 0.50 0.41 0.37  ]

© 2006-2014 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds
Web Design by WebSight Designs |  Managed Hosting by OnyxLight Communications