Skip to content

PyLuaTeX v0.5.1

Compare
Choose a tag to compare
@tndrle tndrle released this 30 Dec 09:29
· 36 commits to main since this release

Change
In case a Python error occurs inside a python environment, the Python output (including the error message and stack trace) is now only written to the document if the package option ignoreerrors is enabled. Otherwise, the Python output is only shown in the LaTeX log file.

Reason
Since Python stack traces often contain "special" characters like _, writing the Python output to the document can lead to LaTeX errors (e.g. Missing $ inserted) that hide the original Python error.