Difference between revisions of "Src-highlite"

From Free Software Directory
Jump to: navigation, search
(Added Savannah link)
 
(6 intermediate revisions by 2 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:
|Homepage URL=http://www.gnu.org/software/src-highlite/
+
<br />
|User level=intermediate
+
* HTML
|Component programs=GNU java2html,GNU cpp2html
+
* XHTML
|Computer languages=C,C++,Java
+
* LATEX
|Documentation note=User manual included
+
* TEXINFO
|Accepts cryptocurrency donations=No
+
* ANSI color escape sequences (you can use this feature with [[less]])
|Related projects=Metahtml
+
* DocBook
|Keywords=C++,source,HTML,format conversion,Web authoring,highlighting,syntax highlighting,WWW,source code,syntax,Java,C,sourcehighlight,java2html,cpp2html,lua,caml,sml
+
 
 +
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 identifier=3.1.8
 
|Version date=2015/03/30
 
|Version date=2015/03/30
 
|Version status=stable
 
|Version status=stable
|Version download=ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz
+
|Version download=https://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz
 
|Last review by=Bendikker
 
|Last review by=Bendikker
|Last review date=2018/02/19
+
|Last review date=2019/01/19
|Submitted date=2011-04-01
+
|Submitted by=Database conversion
 +
|Submitted date=2011/04/01
 +
|User level=intermediate
 +
|Paid support=https://www.fsf.org/resources/service/
 +
|Accepts cryptocurrency donations=Yes
 +
|OpenPGP signature=https://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz.sig
 +
|Test entry=No
 
|Is GNU=Yes
 
|Is GNU=Yes
 
|GNU package identifier=src-highlite
 
|GNU package identifier=src-highlite
|License verified date=2007-11-29
 
}}
 
{{Project license
 
|License=GPLv2orlater
 
|License verified by=Deborah Nicholson
 
|License verified date=2007-11-29
 
 
}}
 
}}
 
{{Project license
 
{{Project license
Line 35: Line 109:
 
|Real name=Lorenzo Bettini
 
|Real name=Lorenzo Bettini
 
|Role=Maintainer
 
|Role=Maintainer
|Email=bettini@gnu.org
+
|Email=bettini@dsi.unifi.it
 
}}
 
}}
{{Person
+
{{Resource
|Real name=Jari Korva
+
|Resource audience=Debian (Ref) (R)
|Role=Contributor
+
|Resource URL=https://tracker.debian.org/pkg/source-highlight
|Email=jari.korva@iki.fi
 
 
}}
 
}}
{{Person
+
{{Resource
|Real name=Martin Gebert
+
|Resource audience=Savannah (Ref)
|Role=Contributor
+
|Resource URL=https://savannah.gnu.org/projects/src-highlite/
|Email=Murphy.Gebert@gmx.de
 
}}
 
{{Person
 
|Real name=Robert Wetzel
 
|Role=Contributor
 
|Email=rw8@mail.inf.tu-dresden.de
 
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Savannah (Ref) (R)
+
|Resource kind=VCS Repository Webview
|Resource URL=https://savannah.gnu.org/projects/java2html
+
|Resource URL=https://git.savannah.gnu.org/cgit/src-highlite.git/
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Debian (Ref) (R)
+
|Resource kind=Mailing List
|Resource URL=https://tracker.debian.org/pkg/java2html
+
|Resource URL=https://lists.gnu.org/mailman/listinfo/help-source-highlight/
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Savannah (Ref)
+
|Resource kind=Mailing List
|Resource URL=https://savannah.gnu.org/projects/src-highlite
+
|Resource URL=https://lists.gnu.org/mailman/listinfo/info-source-highlight/
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Developer
+
|Resource kind=Mailing List
|Resource kind=E-mail
+
|Resource URL=https://lists.gnu.org/archive/html/info-source-highlight/
|Resource URL=mailto:bettini@gnu.org
 
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Bug Tracking
+
|Resource kind=Mailing List
|Resource kind=E-mail
+
|Resource URL=https://lists.gnu.org/mailman/listinfo/gnu-system-discuss/
|Resource URL=mailto:bug-source-highlight@gnu.org
 
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Support
+
|Resource kind=Download
|Resource kind=E-mail
+
|Resource URL=https://alpha.gnu.org/gnu/src-highlite/
|Resource URL=mailto:help-source-highlight@gnu.org
 
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Help
+
|Resource kind=Download
|Resource kind=E-mail
+
|Resource URL=https://ftp.gnu.org/gnu/src-highlite/
|Resource URL=mailto:info-source-highlight@gnu.org
 
 
}}
 
}}
 
{{Resource
 
{{Resource
|Resource audience=Help
+
|Resource kind=General
|Resource kind=Newsgroup
+
|Resource URL=https://savannah.gnu.org/people/
|Resource URL=comp.lang.java.softwaretools
 
 
}}
 
}}
 
{{Software category
 
{{Software category
 
|Documentation-tool=documentation-conversion
 
|Documentation-tool=documentation-conversion
|Interface=command-line
+
|Interface=command-line, library
 +
|Library=C++
 +
|Programming-language=C, C++
 +
|Runs-on=Windows, GNU/Linux
 
|Text-creation=documentation-tool
 
|Text-creation=documentation-tool
 
|Use=text-creation
 
|Use=text-creation
 
|Works-with=text
 
|Works-with=text
 +
}}
 +
{{Software prerequisite
 +
|Prerequisite kind=Source requirement
 +
|Prerequisite description=[[boost]] at least the regex library
 
}}
 
}}
 
{{Featured}}
 
{{Featured}}

Latest revision as of 07:49, 19 January 2019


[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







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