[Dev-luatex] dofile, require and kpathsea
Taco Hoekwater
taco at elvenkind.com
Tue Aug 21 10:18:16 CEST 2007
Jonathan Sauer wrote:
>
> I now wonder if there are plans to change that. IMO this
> should be done, since LuaTeX embeds Lua in a very specific
> environment which searches for files using kpathsea, not
> a simple path set as an environment variable.
>
> What do you think?
This should work:
dofile(kpse.find_file('myfile.lua'))
Best wishes,
Taco
More information about the dev-luatex
mailing list