-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LuaLaTeX crashes when lua-widow-control and selnolig packages are used together #43
Comments
Just found out that this seems to be caused by |
So \newcommand\debugon{%
\directlua{ debug=true }
}
\newcommand\debugoff{%
\directlua{ debug=false }
} which, as you've read in the linked issues, globally overwrites the Lua debug library. 3 possible solutions for this:
The real solution here would be to patch A more realistic solution here would be for me to patch the lua-widow-control source to work around this. I can't say that I'm terribly excited about needing a patch to fix a broken third-party package, but it's literally a two-line fix so I see no reason not to apply it. |
Thank you very much for the quick fix. No worries about the time for publication on CTAN, it's not really urgent, and I am also sitting in the audience of the TUG conference right now 😉 |
Issue
Loading
lua-widow-control
and theselnolig
package together crashes LuaLaTeX due to some issue related to thedebug
library from Lua.Expected Behavior
I expected that
lua-widow-control
wouldn't crash LuaLaTeX. When removing the loading of theselnolig
package from the MWE, building a PDF succeeds.Reproduction
Log File
Format
LaTeX
Distribution
TeX Live
Distribution Version
2023
Lua-widow-control Version
3.0.0 (2022/11/22)
Other Relevant Packages and Versions
selnolig — 0.302 (2015/10/26)
Other
No response
The text was updated successfully, but these errors were encountered: