![](https://secure.gravatar.com/avatar/62c54476729274ddfefd6b1f53e311dc.jpg?s=120&d=mm&r=g)
Hi,
----------------------------------------------- ! LuaTeX error <\directlua >:1: Expected an array of names as second argument stack traceback: [C]: in function 'enableprimitives' <\directlua >:1: in main chunk. \luatexbase@ensure@primitive ...s('luatex', '#1')} \fi l.82 \luatexbase@ensure@primitive{luaescapestring}
This looks like an error in luatexbase-compat.sty to me, but I feel like I've forgotten all about TeX macro programming.: \luatexbase@directlua{tex.enableprimitives('luatex', '#1')}} and \luatexbase@ensure@primitive{luaescapestring} The message is, that the second arg to enableprimitives must be an array, but the expansion of \luatexbase@ensure@primitive{luaescapestring} is something like tex.enableprimitives('luatex', 'luaescapestring') which does not look like an array (but an error) to me. Patrick