[luatex] feature request: absolute path of main tex file

Élie Roux elie.roux at telecom-bretagne.eu
Tue Mar 10 21:45:05 CET 2015


Le 10/03/2015 21:34, luigi scarso a écrit :
> \directlua{
>     print()
>     print("currentdir:"..lfs.currentdir())
>     texio.write_nl("")
>     for k, v in ipairs(arg) do
>         texio.write_nl(k .. " " .. v)
>     end
>     texio.write_nl("")
>     
> }
> 
> 
> 
> \bye

Thanks, it will require some more tests (for instance the arg must end
by \jobname.xxx, etc.), but I can handle it from now.

Thank you very much!
-- 
Elie


More information about the luatex mailing list