CTAN Comprehensive TeX Archive Network

CTAN Update: pythontex

Date: September 11, 2013 4:01:09 PM CEST
Geoffrey Poore submitted an update to the pythontex package. Version number: 0.12 License type: lppl Description: The package allows you to enter Python code within a LaTeX document, execute the code, and access its output in the original document. The Ruby and Julia languages are also supported. 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. The package also provides syntax highlighting for code in LaTeX documents via the Pygments syntax highlighter. The package provides a depythontex utility that creates a copy of the document in which all code has been replaced by its output. This is useful for journal submissions, sharing documents, and conversion to other formats. Announcement text:
PythonTeX now supports the Ruby and Julia languages in addition to Python.
This package is located at http://mirror.ctan.org/macros/latex/contrib/pythontex More information is at http://www.ctan.org/pkg/pythontex We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Petra RĂ¼be-Pugliese

pythontex – Run Python from within a document, typesetting the results

The package allows you to enter Python code within a document, execute the code, and access its output in the original document. There is also support for Bash, JavaScript, Julia, Octave, Perl, R, Raku (Perl 6), Ruby, Rust, and SageMath.

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 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. Python also provides syntax highlighting for code in 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.

Packagepythontex
Version0.18 2021-06-06
Copyright2012–2021 Geoffrey M. Poore
MaintainerGeoffrey Poore

Announcements

more

Guest Book Sitemap Contact Contact Author