CTAN Comprehensive TeX Archive Network

New on CTAN: Python

Date: April 29, 2013 2:12:30 PM CEST
the daemon reports: > Name of contribution: PythonTeX > Author's name: Geoffrey Poore > Package version: 0.11 > Location on CTAN: / > Summary description: Allows Python code entered within a LaTeX > document to be executed, and the output to be included in > the original document. > License type: lppl > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > The PythonTeX package allows you to enter Python code within a LaTeX > document, execute the code, and access its output in the original > document. > > PythonTeX provides fast, user-friendly access to Python from within > LaTeX. 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. > > PythonTeX includes a "depythontex" utility that creates a copy of a > document in which all Python code has been replaced by its output. > This can be convenient for journal submissions, sharing documents, and > converting to other formats. > ---------------------------------------------------------------------- > > Announcement required: Yes (we always announce new packages.) > Users may view the package catalogue entry at > http://www.ctan.org/pkg/PythonTeX > or they may browse the package directory at > http://mirror.ctan.org// thanks for the upload; i installed the new version, and updated the catalogue repository. i apologise for continuing delays in making announcements. my health remains unreliable, and slows me down a lot. Robin Fairbairns For the CTAN team

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.

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 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, 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.

Packagepythontex
Version0.17 2019-09-22
Copyright2012–2019 Geoffrey M. Poore
MaintainerGeoffrey Poore

Announcements

more

Guest Book Sitemap Contact Contact Author