[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
https://wiki.contextgarden.net/Programming_in_LuaTeX#Undefined_Commands_in_Lua_Comments.
Let me know whether I missed something.
Many thanks for your help,
Pablo
More information about the ntg-context
mailing list