Dear List,
I am using ConTeXt LMTX 2020.08.28 13:58 with the following M(N)WE:
\definetype[typeLUA][option=LUA]
\setbreakpoints[compound]
\starttext
\typeLUA{function(argument)}
\stoptext
Sadly, it does not compile.
The problem seems to be the simultaneous use of compound breakpoints and parenthesis.
The error message is:
callback error: ...est/tex/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'
...est/tex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: in field 'prehyphenchar'
...est/tex/texmf-context/tex/context/base/mkiv/typo-brk.lua:171: in local 'method'
...est/tex/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...)
...est/tex/texmf-context/tex/context/base/mkiv/node-pro.lua:88: in function <...est/tex/texmf-context/tex/context/base/mkiv/node-pro.lua:79>
How can I prevent this? Is this a bug?
Cheers,
Christoph