CTAN Comprehensive TeX Archive Network

CTAN update: PyLua

Date: January 8, 2024 7:22:02 PM CET
Tobias Enderle submitted an update to the PyLuaTeX package. Version: 0.6.2 2024-01-07 License: mit lppl1.3c Summary description: Execute Python code on the fly in your LaTeX documents Announcement text:
* The implementation of the "shutdown" option has changed. Previous versions used the "atveryend" package. The new version uses the "enddocument/end" and "enddocument/afteraux" hooks. The behavior should not change. * The error handling has been improved. Specifically, commands and evironments like "\pyq" and "pythonq" did not always handle Python errors properly in previous versions. * Many internal implementation changes * Improved tests
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pyluatex The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/latex/pyluatex/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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

PyLua – Execute Python code on the fly in your documents

PyLua allows you to execute Python code and to include the resulting output in your documents in a single compilation run. documents must be compiled with Lua for this to work.

PyLua runs a Python InteractiveInterpreter (actually several if you use different sessions) in the background for on-the-fly code execution. Python code from your file is sent to the background interpreter through a TCP socket. This approach allows your Python code to be executed and the output to be integrated in your file in a single compilation run. No additional processing steps are needed. No intermediate files have to be written. No placeholders have to be inserted.

PackagePyLuaTeX
Version0.6.3
Copyright2021–2024 Tobias Enderle
MaintainerTobias Enderle

Announcements

more

Guest Book Sitemap Contact Contact Author