[NTG-context] Bad argument #1 to 'prehypenchar'
Aditya Mahajan
adityam at umich.edu
Tue Sep 15 05:30:21 CEST 2020
The following MWE gives an error with LMTX 2020.09.05
\usemodule[vim]
\definevimtyping[MATLABCODE][syntax=matlab]
\starttext
\startMATLABCODE
saveas(gcf(), "output/same-sigma.png")
\stopMATLABCODE
\stoptext
The error message is:
callback error: ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: bad argument #1 to 'prehyphenchar' (luatex.lang expected, got no value)
stack traceback:
[C]: in function 'lang.prehyphenchar'
...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: in field 'prehyphenchar'
...metatex/texmf-context/tex/context/base/mkiv/typo-brk.lua:171: in local 'method'
...metatex/texmf-context/tex/context/base/mkiv/typo-brk.lua:392: in upvalue 'typesetters_breakpoints_handler'
[string "local tonut = nodes.tonut..."]:16: in function <[string "local tonut = nodes.tonut..."]:11>
(...tail calls...)
...metatex/texmf-context/tex/context/base/mkiv/node-pro.lua:88: in function <...metatex/texmf-context/tex/context/base/mkiv/node-pro.lua:79>
1 >> \SYNBOL{}saveas(gcf(), \SYN[String]{"output/same-sigma.png"})\SYNEOL{}
2
mtx-context | fatal error: return code: 256
Any idea what is going on?
Thanks,
Aditya
More information about the ntg-context
mailing list