[Dev-luatex] In need of some catcode wizardry...
patrick at gundla.ch
Sun Apr 18 22:01:11 CEST 2010
try tex.print(-2,fname). -2 is a "safe" catcode table.
If you want to make sure that in 'luadir.dir("directory")' you don't have problems with catcodes, you should move this part to a separate lua file and include that with dofile("myfile.lua"). Then there are no cat code problems while interpreting this file.
Hope this helps,
More information about the dev-luatex