[NTG-context] Minor bug in Lua or ConTeXt

Pablo Rodriguez oinos at gmx.es
Wed Jan 18 18:47:33 CET 2023

On 1/18/23 14:41, Bruce Horrocks via ntg-context wrote:
> […] 
> Perhaps the Wiki only needs to point out that if you get a Lua
> related error and the error log lists the entire contents of \startluacode ...
> \stopluacode then a possible source of the error is a \command somewhere
> in there?

Hi Bruce,

from what I understand is that undefined TeX commands cannot be added to
Lua comments.

If I’m not wrong (in my previous statement), I think this is
counterintuitive, since undefined commands are fine in TeX comments and
undefined variables are fine inside \startluacode … \stopluacode.

So I added

Let me know whether I missed something.

Many thanks for your help,


More information about the ntg-context mailing list