Pygments

From the Linux and Unix Users Group at Virginia Teck Wiki
Revision as of 23:07, 7 December 2009 by 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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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