|
|
|||||||||
|
The py2tex package allows you to typeset Python programs with LaTeX. It consists of some Python code to translate Python source to LaTeX and a LaTeX style file that contains the necessary definitions. The image at right is an example of what py2tex output looks like. Version 0.9 is the first release of py2tex in some years, and
updates the packaging to match current Python conventions. The code
still needs to be updated in various ways (to use the py2tex was originally written by Jeroen van Maanen; I'm planning to just update it a bit for current versions of Python and then leave it alone. Download the code |