Pygments: Difference between revisions

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to navigation Jump to search
imported>Cov
Created page with ''''Pygments''' is a source code pretty-printer that can output to many formats including LaTeX. =Installation= To install Pygments on Ubuntu, simply run: <pre> $ sudo apt-ge…'
 
imported>Cov
No edit summary
Line 19: Line 19:
* [http://pygments.org/ Pygments homepage]
* [http://pygments.org/ Pygments homepage]
* [http://paste.pocoo.org/ Pastebin using Pygments]
* [http://paste.pocoo.org/ Pastebin using Pygments]
[[Category:Commandline *nix software]]
[[Category:Libre course software]]

Revision as of 01:59, 24 December 2009

Pygments is a source code pretty-printer that can output to many formats including LaTeX.

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

See Also

External Links