Run Python from within a document, typesetting the results
1.55 MB
built 2026-07-10 14:54:26 GMT
Description
The package allows you to enter Python code within a LaTeX 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
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.
Dependencies
27 totalRequires17
- /usr/bin/python3
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
- tex(currfile.sty)
- tex(etex.sty)
- tex(etoolbox.sty)
- tex(fancyvrb.sty)
- tex(fvextra.sty)
- tex(newfloat.sty)
- tex(pgfopts.sty)
- tex(upquote.sty)
- tex(xcolor.sty)
- tex(xstring.sty)
- texlive-base
- texlive-kpathsea
Provides8
- tex(pythontex.sty) = 12:20260301-112.fc45
- tex-pythontex = 12:20260301-112.fc45
- tex-pythontex-bin = 12:20260301-112.fc45
- tex-pythontex-doc = 12:20260301-112.fc45
- texlive-pythontex = 12:20260301-112.fc45
- texlive-pythontex = 12:svn77873-112.fc45
- texlive-pythontex-bin = 12:20260301-112.fc45
- texlive-pythontex-doc = 12:20260301-112.fc45
Obsoletes2
- texlive-pythontex-bin < 7:20170520
- texlive-pythontex-doc < 7:20170520
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
24
Files 1–24 of 24
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-60640-1043 | 2026-11-25 05:38:50 | expired |
| f45-build-60618-1041 | 2026-11-25 05:31:58 | expired |
| f45-build-9345-401 | 2026-10-13 20:28:00 | expired |
Buildroots 1–3 of 3

