[luatex] Packages and fonts not found if I load luatextra
Khaled Hosny
khaledhosny at eglug.org
Tue Jun 22 13:09:57 CEST 2010
On Tue, Jun 22, 2010 at 11:39:40AM +0200, Manuel Pégourié-Gonnard wrote:
> Le 22/06/2010 11:07, Ulrike Fischer a écrit :
> > 1. Is is normal that luatextra changes the progname during
> > compilation?
> >
> IMO, no. This is due to kpse.set_program_name("luatex") in lualibs.
> As a quick fix, I suggest replacing this line with
>
> kpse.set_program_name(arg[-1] or arg[0])
>
> Even better would be to test if kpse is already initialised, but I don't know
> how to do that. Alternatively, lualibs could use a private instance:
>
> local mykpse = kpse.new(...)
> -- later in load_lualibs_module()
> local path = mykpse:find_file(filename)
>
> Or it could just document that kpse should be initialised before lualibs is
> loaded (which is only a problem for texlua scripts, but not in tex mode).
>
> Khaled, wdyt?
I think I'll go with the last one.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the luatex
mailing list