Difference between revisions of "Src-highlite"

From Free Software Directory
Jump to: navigation, search
(Created page with "{{Entry |Name=src-highlite |Short description=Turns source code into a file with syntax highlighting |Full description=This is a collection of two established and stable programs...")
 
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Entry
 
{{Entry
|Name=src-highlite
+
|Name=GNU Source-highlight
|Short description=Turns source code into a file with syntax highlighting
+
|Short description=Produce document with syntax highlighting from source file.
|Full description=This is a collection of two established and stable programs, GNU cpp2html and GNU java2html, that, given a source code file, translates that file into an HTML, XHTML or ANSI color escape sequences file with syntax highlighting. Later versions will include other programs such as java2latex, etc.
+
|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 [[ctags | Exuberant Ctags]]. These are the output formats already supported:
 +
<br />
 +
* 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):
 +
<br />
 +
* 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
 +
|Homepage URL=https://www.gnu.org/software/src-highlite/
 +
|Is High Priority Project=No
 +
|VCS checkout command=git clone git://git.savannah.gnu.org/src-highlite.git
 +
|Documentation note=https://www.gnu.org/software/src-highlite/source-highlight.html
 +
 
 +
https://www.gnu.org/software/src-highlite/source-highlight-lib.html
 +
 
 +
https://www.gnu.org/software/src-highlite/examples.html
 +
 
 +
'''Selection from the [https://shop.fsf.org/ FSF shop]'''
 +
 
 +
[https://shop.fsf.org/books/free-freedom-20-richard-stallman Free as in Freedom 2.0, by Richard Stallman]
 +
 
 +
[https://shop.fsf.org/books-docs/introduction-command-line Introduction to the Command Line]
 +
 
 +
----
 +
----
 +
'''[https://www.gnu.org/help/help.html Helping the GNU Project and the Free Software Movement]'''
 +
----
 +
----
 +
 
 +
If you have corrections to this entry or questions about it, please contact: mailto:maintainers@gnu.org
 +
----
 +
|Decommissioned or Obsolete=No
 +
|Donate=https://my.fsf.org/donate/
 +
|Microblog=https://tronprog.blogspot.com/search/label/source-highlight
 +
|Related projects=gnustandards
 +
|Keywords=syntax,highlight,language conversion,source-level
 +
|Version identifier=3.1.8
 +
|Version date=2015/03/30
 +
|Version status=stable
 +
|Version download=https://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz
 +
|Last review by=Bendikker
 +
|Last review date=2019/01/19
 +
|Submitted by=Database conversion
 +
|Submitted date=2011/04/01
 
|User level=intermediate
 
|User level=intermediate
|Submitted by=Database conversion
+
|Paid support=https://www.fsf.org/resources/service/
|Submitted date=2011-04-01
+
|Accepts cryptocurrency donations=Yes
|Version identifier=2.2
+
|OpenPGP signature=https://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz.sig
|Version date=2005-10-17
+
|Test entry=No
|Version status=stable
+
|Is GNU=Yes
|Version download=http://ftp.gnu.org/gnu/src-highlite/source-highlight-2.2.tar.gz
+
|GNU package identifier=src-highlite
|License verified date=2001-06-26
+
}}
|Version comment=2.2 stable released 2005-10-17
+
{{Project license
 +
|License=GPLv3orlater
 +
|License verified by=Deborah Nicholson
 +
|License verified date=2007-11-29
 +
}}
 +
{{Person
 +
|Real name=Lorenzo Bettini
 +
|Role=Maintainer
 +
|Email=bettini@dsi.unifi.it
 +
}}
 +
{{Resource
 +
|Resource audience=Debian (Ref) (R)
 +
|Resource URL=https://tracker.debian.org/pkg/source-highlight
 +
}}
 +
{{Resource
 +
|Resource audience=Savannah (Ref)
 +
|Resource URL=https://savannah.gnu.org/projects/src-highlite/
 +
}}
 +
{{Resource
 +
|Resource kind=VCS Repository Webview
 +
|Resource URL=https://git.savannah.gnu.org/cgit/src-highlite.git/
 +
}}
 +
{{Resource
 +
|Resource kind=Mailing List
 +
|Resource URL=https://lists.gnu.org/mailman/listinfo/help-source-highlight/
 +
}}
 +
{{Resource
 +
|Resource kind=Mailing List
 +
|Resource URL=https://lists.gnu.org/mailman/listinfo/info-source-highlight/
 +
}}
 +
{{Resource
 +
|Resource kind=Mailing List
 +
|Resource URL=https://lists.gnu.org/archive/html/info-source-highlight/
 +
}}
 +
{{Resource
 +
|Resource kind=Mailing List
 +
|Resource URL=https://lists.gnu.org/mailman/listinfo/gnu-system-discuss/
 +
}}
 +
{{Resource
 +
|Resource kind=Download
 +
|Resource URL=https://alpha.gnu.org/gnu/src-highlite/
 +
}}
 +
{{Resource
 +
|Resource kind=Download
 +
|Resource URL=https://ftp.gnu.org/gnu/src-highlite/
 +
}}
 +
{{Resource
 +
|Resource kind=General
 +
|Resource URL=https://savannah.gnu.org/people/
 
}}
 
}}
 
{{Software category
 
{{Software category
|Interface=command-line
+
|Documentation-tool=documentation-conversion
 +
|Interface=command-line, library
 +
|Library=C++
 +
|Programming-language=C, C++
 +
|Runs-on=Windows, GNU/Linux
 +
|Text-creation=documentation-tool
 +
|Use=text-creation
 +
|Works-with=text
 
}}
 
}}
{{Project license
+
{{Software prerequisite
|License=GPLv2orlater
+
|Prerequisite kind=Source requirement
|License verified by=Janet Casey
+
|Prerequisite description=[[boost]] at least the regex library
|License verified date=2001-06-26
 
 
}}
 
}}
 +
{{Featured}}

Latest revision as of 07:49, 19 January 2019


Overview

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





Details

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

About this entry



<headertabs />


Entry







"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.