pythonimmediate – Library to run Python code
Unlike PerlTeX or PyLuaTeX, there is no restriction on compiler or script required to run the code.
There are also debugging functionalities: TeX errors result in Python traceback, and Python errors result in TeX traceback. Errors in code executed with the pycode environment give the correct traceback point to the Python line of code in the TeX file.
For advanced users, this package allows the user to manipulate the TeX state directly from within Python, so you don’t need to write a single line of TeX code.
CAUTION: In addition to this LaTeX package you need the Python pythonimmediate-tex package, which can be obtained from https://pypi.org/project/pythonimmediate-tex/.
|Licenses||The LaTeX Project Public License 1.3c|
|Contained in||TeX Live as pythonimmediate|
MiKTeX as pythonimmediate
Download the contents of this package in one zip archive (430.0k).
Maybe you are interested in the following packages as well.
- pythontex: Run Python from within a document, typesetting the results
- autopdf: Conversion of graphics to pdfLaTeX-compatible formats
- nucleardata: Provides data about atomic nuclides for documents
- runcode: Execute foreign source code and embed the result in the pdf file