10 Nov
2008
10 Nov
'08
7:10 a.m.
Hi,
As to the live, I think a patched Lua file (loslib.c) can solve this problem: remove the line {"execute", os_execute}, in the static const luaL_Reg syslib[].
Moreover, if we do that, ConTeXt will not adapt to the "stripped down" LuaTeX. For example, mtxrun.lua contains many functions which depend on os.execute, and it even created some synonames as well: if not os.exec then os.exec = os.execute end if not os.spawn then os.spawn = os.execute end So, a simple line removal is not sufficient. Yue Wang