CTAN Comprehensive TeX Archive Network

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.

Sources/macros/luatex/latex/pyluatex
Documentation
Bug trackerhttps://github.com/tndrle/PyLuaTeX/issues
Repositoryhttps://github.com/tndrle/PyLuaTeX
Version0.6.3
LicensesMIT License
The Project Public License 1.3c
Copyright2021–2024 Tobias Enderle
MaintainerTobias Enderle
Contained inTeX Live as pyluatex
MiKTeX as pyluatex
TopicsLua
Experimental 3
Callback

Download the contents of this package in one zip archive (114.1k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author