[luatex] require with kpse loaders
t34www at googlemail.com
Thu Jan 6 23:04:45 CET 2011
On 6 January 2011 17:16, T T <t34www at googlemail.com> wrote:
> In the past I used this code:
> master = kpse.var_value('SELFAUTOPARENT')
> package.path = master.."/c?.tlu"
> to load texmf/scripts/texlive/lua/texlive/tlpdb.tlu module but this is
> not working anymore with kpse loaders.
> The following allowed me to bypass kpse loader and use the Lua's built-in one:
> master = kpse.new("texlua"):var_value('SELFAUTOPARENT')
> package.path = master.."/texmf/scripts/texlive/lua/?.tlu"
> but is there a way to make kpse loader find this module?
To answer my own question: kpse doesn't find the file because .tlu
extension is not treated as one of the lua extensions (as in
Karl, could we add .tlu to lua extensions in kpathsea?
More information about the luatex