User:Chymæra/PythonTeX
Original author(s) | Geoffrey Poore |
---|---|
Developer(s) | Geoffrey Poore |
Initial release | 27 April 2012 |
Written in | Python, LaTeX |
Operating system | Cross-platform |
License | LPPL (LaTeX code) and BSD 3-Clause (Python code) |
Website | github |
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]- ^ "Reproducible Documents with PythonTeX". SciPy Proceedings 2013.
- ^ "Fast Access to Python from within LaTeX". GitHub.
Category:Python (programming language) Category:Free TeX software Category:Literate programming