generate LaTeX/TeX syntax highlighted code
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Tue Jul 6 15:52:39 EDT 2004
In <mailman.30.1089121896.5135.python-list at python.org>, John Hunter wrote:
> Are there any tools that can be used to process python code and
> generate LaTeX/TeX output with syntax highlighted code?
The listings package has Python support. From the README:
Abstract
--------
The `listings' package is a source code printer for LaTeX.
You can typeset stand alone files as well as listings with
an environment similar to `verbatim' as well as you can
print code snippets using a command similar to \verb'.
Many parameters control the output and if your preferred
programming language isn't already supported, you can make
your own definition.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list