Difference between revisions of "Pygments"
imported>Cov |
imported>Echarlie |
||
Line 20: | Line 20: | ||
* [http://paste.pocoo.org/ Pastebin using Pygments] | * [http://paste.pocoo.org/ Pastebin using Pygments] | ||
− | [[Category:Commandline *nix | + | [[Category:Commandline *nix]] |
[[Category:Libre course software]] | [[Category:Libre course software]] |
Revision as of 21:07, 2 March 2016
Pygments is a source code pretty-printer that can output to many formats including LaTeX.
Contents
Installation
To install Pygments on Ubuntu, simply run:
$ sudo apt-get install python-pygments
Usage
To use Pygments, simply run the pygmentize
command, specifying an output file of the type of your choice. For example:
$ pygmentize -o wsdl.tex WeatherForecast.wsdl