Updated MiKTeX (2024-03-12), lua debug function not working
kalekje opened this issue · comments
- I have read and acknowledged this HOWTO article:
Submitting a MiKTeX problem report
The MWE below works with Overleaf (TeXLive 2023), but does not with MiKTeX as debug.getinfo
is nil
-- perhaps this library is not loaded in the new update. Another standard library, math
for example, still works.
\documentclass{scrartcl}
\usepackage{luacode}
\begin{document}
\section{Test}
Hello world.
\begin{luacode*}
function testfunction()
return debug.getinfo(1, "fn").name
end
tex.sprint(tostring(debug==nil))
tex.sprint(tostring(debug.getinfo==nil))
tex.sprint(testfunction())
\end{luacode*}
\end{document}
https://www.tug.org/pipermail/luatex/2024-February/007935.html
debug has been disabled in luatex 1.18.0