Difference between revisions of "Src-highlite"
(Added Savannah link) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Entry | {{Entry | ||
− | |Name= | + | |Name=GNU Source-highlight |
− | |Short description= | + | |Short description=Produce document with syntax highlighting from source file. |
− | |Full description= | + | |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= | + | <br /> |
− | | | + | * HTML |
− | | | + | * XHTML |
− | | | + | * LATEX |
− | | | + | * TEXINFO |
− | | | + | * ANSI color escape sequences (you can use this feature with [[less]]) |
− | |Related projects= | + | * DocBook |
− | |Keywords= | + | |
+ | 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= | + | |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= | + | |Last review date=2019/01/19 |
− | |Submitted date=2011- | + | |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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
{{Project license | {{Project license | ||
Line 35: | Line 109: | ||
|Real name=Lorenzo Bettini | |Real name=Lorenzo Bettini | ||
|Role=Maintainer | |Role=Maintainer | ||
− | |Email=bettini@ | + | |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 | ||
− | |Resource | + | |Resource kind=VCS Repository Webview |
− | |Resource URL=https://savannah.gnu.org/ | + | |Resource URL=https://git.savannah.gnu.org/cgit/src-highlite.git/ |
}} | }} | ||
{{Resource | {{Resource | ||
− | |Resource | + | |Resource kind=Mailing List |
− | |Resource URL=https:// | + | |Resource URL=https://lists.gnu.org/mailman/listinfo/help-source-highlight/ |
}} | }} | ||
{{Resource | {{Resource | ||
− | |Resource | + | |Resource kind=Mailing List |
− | |Resource URL=https:// | + | |Resource URL=https://lists.gnu.org/mailman/listinfo/info-source-highlight/ |
}} | }} | ||
{{Resource | {{Resource | ||
− | + | |Resource kind=Mailing List | |
− | |Resource kind= | + | |Resource URL=https://lists.gnu.org/archive/html/info-source-highlight/ |
− | |Resource URL= | ||
}} | }} | ||
{{Resource | {{Resource | ||
− | + | |Resource kind=Mailing List | |
− | |Resource kind= | + | |Resource URL=https://lists.gnu.org/mailman/listinfo/gnu-system-discuss/ |
− | |Resource URL= | ||
}} | }} | ||
{{Resource | {{Resource | ||
− | + | |Resource kind=Download | |
− | |Resource kind= | + | |Resource URL=https://alpha.gnu.org/gnu/src-highlite/ |
− | |Resource URL= | ||
}} | }} | ||
{{Resource | {{Resource | ||
− | + | |Resource kind=Download | |
− | |Resource kind= | + | |Resource URL=https://ftp.gnu.org/gnu/src-highlite/ |
− | |Resource URL= | ||
}} | }} | ||
{{Resource | {{Resource | ||
− | + | |Resource kind=General | |
− | |Resource kind= | + | |Resource URL=https://savannah.gnu.org/people/ |
− | |Resource URL= | ||
}} | }} | ||
{{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
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
This is a GNU package:src-highlite
Download
https://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
Leaders and contributors
Contact(s) | Role |
---|---|
Lorenzo Bettini | Maintainer |
Resources and communication
Software prerequisites
Kind | Description |
---|---|
Source requirement | boost at least the regex library |
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.