Difference between revisions of "Pygments"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Pew
(Undo revision 1722 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]]))
(Tag: Undo)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
TODO: Migrate to software page
 
 
 
'''Pygments''' is a source code pretty-printer that can output to many formats including [[LaTeX]].
 
'''Pygments''' is a source code pretty-printer that can output to many formats including [[LaTeX]].
  
Line 22: Line 20:
 
* [http://paste.pocoo.org/ Pastebin using Pygments]
 
* [http://paste.pocoo.org/ Pastebin using Pygments]
  
[[Category:Commandline *nix]]
+
[[Category:Software]]
[[Category:Libre course software]]
+
[[Category:Howtos]]
[[Category:Needs restoration]]
 

Latest revision as of 23:22, 3 January 2019

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