PythonTeX
Original author(s)Geoffrey Poore
Developer(s)Geoffrey Poore
Initial release27 April 2012 (2012-04-27)
Written inPython, LaTeX
Operating systemCross-platform
LicenseLPPL (LaTeX code) and BSD 3-Clause (Python code)
Websitegithub.com/gpoore/pythontex

PythonTeX is a library that provides access to Python from within LaTeX. The software also provides support for embedding Ruby and Julia in LaTeX documents. PythonTeX provides a framework for creating reproducible documents, documents that both report results and contain the code that generated them. This enables a literate programming-style approach to reproducible research. Live documents that automatically perform analysis on external data are also possible.[1]

Mode of operation edit

Code in the supported languages (Python, Ruby, and Julia) is entered within a LaTeX document. Then PythonTeX is used to execute this code. The results are included within the original document via LaTeX macros. PythonTeX also provides syntax highlighting for typeset code within LaTeX documents via the Pygments syntax highlighter.[2]

See also edit

References edit

  1. ^ "Reproducible Documents with PythonTeX". SciPy Proceedings 2013.
  2. ^ "Fast Access to Python from within LaTeX". GitHub.

Category:Python (programming language) Category:Free TeX software Category:Literate programming