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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : firstname.lastname@example.org / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________