> \directlua will always be there as it is needed to enable the primitives > so it is a save test For what it's worth, I also think we should make only \directlua available at ini time, and use that to detect LuaTeX. It is, after all, the very mark of LuaTeX. Arthur