CTAN Comprehensive TeX Archive Network

CTAN update: PyLua

Date: July 27, 2021 9:34:03 PM CEST
Tobias Enderle submitted an update to the PyLuaTeX package. Version number: 0.2.0 2021-07-26 License type: mit lppl1.3c Summary description: Execute Python code on the fly in your LaTeX documents Announcement text:
It is now possible to also typeset your code instead of only executing it. Also, a new set of "quiet" macros has been added. Those macros execute Python code but suppress any output. Changes: * Added quiet macros * Added code and output buffer * Added examples for typesetting code and output
This package is located at https://mirrors.ctan.org/macros/luatex/latex/pyluatex More information is at https://www.ctan.org/pkg/PyLuaTeX 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
Thanks for the upload. For the CTAN Team Ina Dau --

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.

Copyright2021–2024 Tobias Enderle
MaintainerTobias Enderle



Guest Book Sitemap Contact Contact Author