Fedora Packages

texlive-pythontex Subpackage of texlive-base

Run Python from within a document, typesetting the results

The package allows you to enter Python code within a LaTeX document, execute the code, and access its output in the original document. Python 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, that 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.

Releases Overview

Release Stable Testing
Fedora Rawhide svn59514-84.fc41 -
Fedora 40 svn59514-81.fc40 -
Fedora 39 svn59514-77.fc39 -
Fedora 38 svn59514-72.fc38 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at texlive-base dash maintainers at fedoraproject dot org.



Sources on Pagure