CTAN update: pythontex
Julia now uses project flag "--project=@.". \inputpygments now detects file modification. Rust support is now compatible with document and working directory paths that contain spaces.
This package is located at http://mirror.ctan.org/macros/latex/contrib/pythontex More information is at https://www.ctan.org/pkg/pythontex
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
pythontex – Run Python from within a document, typesetting the results
Code is only executed when it has been modified, or when it meets user-specified criteria. Code may be divided into user-defined sessions, which automatically run in parallel.
Errors and warnings are synchronized with the LaTeX document, so that they refer to the document's line numbers. External dependencies can be tracked, so that code is re-executed when the data it depends on is modified. PythonTeX also provides syntax highlighting for code in LaTeX documents via the Pygments syntax highlighter.
The package provides a depythontex utility. This creates a copy of the document in which all Python code has been replaced by its output. This is useful for journal submissions, sharing documents, and conversion to other formats.
|Copyright||2012–2021 Geoffrey M. Poore|
- 2021-06-08 CTAN update: pythontex
- 2019-09-25 CTAN update: pythontex
- 2017-07-22 CTAN update: pythontex
- 2016-07-22 CTAN Update: pythontex
- 2014-07-15 CTAN Update: pythontex
- 2013-09-11 CTAN Update: pythontex
- 2013-04-29 New on CTAN: PythonTeX