Hi Graham,

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,

Patrick


_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to