Difference between revisions of "GNU Source-highlight"

From Free Software Directory
Jump to: navigation, search
m (added gnu package identifier.)
(9 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
|Full description=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:
 
|Full description=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:
 
<br />
 
<br />
* HTML
+
* HTML
 
+
* XHTML
* XHTML
+
* LATEX
 
+
* TEXINFO
* LATEX
+
* ANSI color escape sequences (you can use this feature with less)
 
+
* DocBook
* 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):
 
These are the input languages (or input formats) already supported (in alphabetical order):
 
<br />
 
<br />
* Ada
+
* Ada
 
+
* Autoconf files
* Autoconf files
+
* C/C++
 
+
* C#
* C/C++
+
* Bib
 
+
* Bison
* C#
+
* Caml
 
+
* Changelog
* Bib
+
* Css
 
+
* Diff
* Bison
+
* Flex
 
+
* Fortran
* Caml
+
* GLSL
 
+
* Haxe
* Changelog
+
* Html
 
+
* ini files
* Css
+
* Java
 
+
* Javascript
* Diff
+
* KDE desktop files
 
+
* Latex
* Flex
+
* Ldap files
 
+
* Logtalk
* Fortran
+
* Log files
 
+
* lsm files (Linux Software Map)
* GLSL
+
* Lua
 
+
* Makefile
* Haxe
+
* M4
 
+
* ML
* Html
+
* Pascal
 
+
* Perl
* ini files
+
* PHP
 
+
* Postscript
* Java
+
* Prolog
 
+
* Properties files
* Javascript
+
* Python
 
+
* RPM Spec files
* KDE desktop files
+
* Ruby
 
+
* Scala
* Latex
+
* Shell
 
+
* S-Lang
* Ldap files
+
* Sql
 
+
* Tcl
* Logtalk
+
* XML
 
+
* XOrg conf files
* Log files
+
|Homepage URL=http://www.gnu.org/software/src-highlite
 
 
* 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
 
 
|User level=intermediate
 
|User level=intermediate
 +
|VCS checkout command=cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/src-highlite co src-highlite
 +
|Computer languages=C,C++
 +
|Documentation note=http://www.gnu.org/software/src-highlite/source-highlight.html
 +
|Keywords=source,language,highlighting,syntax,character set,highlight,character,language conversion,output,source-level
 +
|Version identifier=3.1.4
 +
|Version date=2010-06-16
 +
|Version status=mature
 +
|Version download=http://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.4.tar.gz
 +
|Last review by=Kelly Hopkins
 +
|Last review date=2010-09-16
 
|Submitted by=Database conversion
 
|Submitted by=Database conversion
 
|Submitted date=2011-04-01
 
|Submitted date=2011-04-01
|Version identifier=3.0
+
|Is GNU=Yes
|Version date=2009-05-10
+
|GNU package identifier=src-highlite
|Version status=mature
+
|License verified date=2010-06-16
|Version download=http://ftp.gnu.org/gnu/src-highlite/source-highlight-3.0.tar.gz
 
|License verified date=2009-05-12
 
|Version comment=
 
}}
 
{{Software category
 
|Interface=console
 
 
}}
 
}}
 
{{Project license
 
{{Project license
 
|License=GPLv3orlater
 
|License=GPLv3orlater
 
|License verified by=Kelly Hopkins
 
|License verified by=Kelly Hopkins
|License verified date=2009-05-12
+
|License verified date=2010-06-16
 +
}}
 +
{{Person
 +
|Real name=Lorenzo Bettini
 +
|Role=Maintainer
 +
|Email=bettini@gnu.org
 +
}}
 +
{{Person
 +
|Real name=Alain Barbet
 +
|Role=Contributor
 +
|Email=alian@alianwebserver.com
 +
}}
 +
{{Person
 +
|Real name=Martin Gebert
 +
|Role=Contributor
 +
|Email=Murphy.Gebert@gmx.de
 +
}}
 +
{{Resource
 +
|Resource audience=Developer
 +
|Resource kind=Download
 +
|Resource URL=ftp://ftp.gnu.org/gnu/src-highlite/
 +
}}
 +
{{Resource
 +
|Resource audience=Developer
 +
|Resource kind=Homepage
 +
|Resource URL=http://savannah.gnu.org/projects/src-highlite
 +
}}
 +
{{Software category
 +
|Documentation-tool=documentation-translation
 +
|Editor=programming
 +
|Interface=console
 +
|Software-development=programming-language-conversion
 +
|Text-creation=documentation-tool, editor
 +
|Use=software-development, text-creation
 +
|Works-with=text
 
}}
 
}}
 +
{{Featured}}

Revision as of 14:35, 12 October 2012


[edit]

GNU Source-highlight

https://www.gnu.org/software/src-highlite/
Produce document with syntax highlighting from source file.

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 Exuberant Ctags. 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





Licensing

License

Verified by

Verified on

Notes

Verified by

Deborah Nicholson

Verified on

29 November 2007




Leaders and contributors

Contact(s)Role
Lorenzo Bettini Maintainer


Resources and communication

AudienceResource typeURI
Mailing Listhttps://lists.gnu.org/mailman/listinfo/gnu-system-discuss/
Mailing Listhttps://lists.gnu.org/archive/html/info-source-highlight/
Mailing Listhttps://lists.gnu.org/mailman/listinfo/info-source-highlight/
Downloadhttps://ftp.gnu.org/gnu/src-highlite/
Debian (Ref) (R)https://tracker.debian.org/pkg/source-highlight
Mailing Listhttps://lists.gnu.org/mailman/listinfo/help-source-highlight/
Savannah (Ref)https://savannah.gnu.org/projects/src-highlite/
VCS Repository Webviewhttps://git.savannah.gnu.org/cgit/src-highlite.git/
Generalhttps://savannah.gnu.org/people/
Downloadhttps://alpha.gnu.org/gnu/src-highlite/


Software prerequisites

KindDescription
Source requirementboost at least the regex library




Entry

























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.