[lltx] kpse and texlua

Khaled Hosny khaledhosny at eglug.org
Sat May 15 15:01:02 CEST 2010


On Sat, May 15, 2010 at 03:48:24PM +0300, Elie Roux wrote:
> Hello,
> 
> I just realized that mkluatexfontdb wasn't working if lualibs.lua
> (or any other required file) wasn't in the same directory. Am I the
> only one having this problem? In order to fix this I load
> luatexbase.loader.lua (with dofile) and I fix lualibs so that it
> works with this system (I commited this small change).

Works just fine here, I never but lualibs (or luaextra) modules in the
same directory. For some reason, your luatex is not using kpse to find
require()'d modules, which the 'kpse.set_program_name("luatex")' is
supposed to activate.

> Is it OK for everyone if add the line
> dofile(kpse.find_file("luatexbase.loader.lua")) to mkluatexfontdb?
> With this change it works fine on my system.

Or we may try to see what is broken with your system.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the lualatex-dev mailing list