Hi Hans,
I started reading at \registerctxluafile in luat-cod.mkiv, but it wasn't
quite what I was looking for. But, I then stumbled on \definenamedlua in
luat-ini.mkiv. There, I learned of the function 'protect' in luat-ini.lua.
So, adding the line
protect("moduledata")
at the top of t-module.l
Kevin D. Robbins wrote:
Hi all,
I have a module with lots of lua code, and I'd like to move most of the
lua code to a separate file, say t-module.lua. I have written all of the
lua code using \modulecode and \startmodulecode ... \stopmodulecode.
But, when I move the lua code to t-module.lua a
Hi all,
I have a module with lots of lua code, and I'd like to move most of the lua
code to a separate file, say t-module.lua. I have written all of the lua
code using \modulecode and \startmodulecode ... \stopmodulecode. But, when I
move the lua code to t-module.lua and load it with dofile, it se