GNU Source-highlight

From Free Software Directory
 
Jump to: navigation, search

[edit]

GNU Source-highlight

https://www.gnu.org/software/src-highlite/
This program, given a source file, produces a document with syntax highlighting.

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, <, >, &). Since version 2.2, source-highlight can also generate cross references; in order to do this it relies on GNU Ctags, http://ctags.sourceforge.net. These are the output formats already supported:

  • HTML
  • XHTML
  • LATEX
  • TEXINFO
  • ANSI color escape sequences (you can use this feature with less)
  • DocBook

These are the input languages (or input formats) already supported (in alphabetical order):

  • Ada
  • Autoconf files
  • C/C++
  • C#
  • Bib
  • Bison
  • Caml
  • Changelog
  • Css
  • Diff
  • Flex
  • Fortran
  • GLSL
  • Haxe
  • Html
  • ini files
  • Java
  • Javascript
  • KDE desktop files
  • Latex
  • Ldap files
  • Logtalk
  • Log files
  • lsm files (Linux Software Map)
  • Lua
  • Makefile
  • M4
  • ML
  • Pascal
  • Perl
  • PHP
  • Postscript
  • Prolog
  • Properties files
  • Python
  • RPM Spec files
  • Ruby
  • Scala
  • Shell
  • S-Lang
  • Sql
  • Tcl
  • XML
  • XOrg conf files

Documentation

http://www.gnu.org/software/src-highlite/source-highlight.html

Heckert gnu.small.png This is a GNU package:src-highlite

Download

ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz

version 3.1.8 (stable)
released on 30 March 2015



User level

Intermediate


VCS Checkout

cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/src-highlite co src-highlite

Categories





Licensing

LicenseVerified byVerified onNotes
License:GPLv3orlaterDeborah Nicholson29 November 2007
License:GPLv2orlaterDeborah Nicholson29 November 2007



Leaders and contributors

Contact(s)Role
Martin Gebert Contributor
Jari Korva Contributor
Robert Wetzel Contributor
Lorenzo Bettini Maintainer


Resources and communication

AudienceResource typeURI
Debian (Ref) (R)https://tracker.debian.org/pkg/java2html
HelpNewsgroupcomp.lang.java.softwaretools
Savannah (Ref)https://savannah.gnu.org/projects/src-highlite
DeveloperE-mailmailto:bettini@gnu.org
Bug TrackingE-mailmailto:bug-source-highlight@gnu.org
SupportE-mailmailto:help-source-highlight@gnu.org
Savannah (Ref) (R)https://savannah.gnu.org/projects/java2html
HelpE-mailmailto:info-source-highlight@gnu.org


Software prerequisites

This entry (in part or in whole) was last reviewed on 19 February 2018.



Entry






























"Savannah (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Savannah (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.



















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.