[luatex] require and load_Lua

Manuel Pégourié-Gonnard mpg at elzevir.fr
Tue Mar 24 23:20:47 CET 2009

Hans Hagen a écrit :
> you can just do that yourself as any function can be redefined, so you
> can overload the loader or add an extra loader ...
> package.loaders[#package.loaders+1] = function(name)
>   -- return location of name depending on your preferences
> end
Sure, that's the nice thing with Lua.

>> belongs to the macro packages, not in the engine?
> indeed, it's a macro package issue as each package might have its own
> strategy
I was expecting this answer. Thanks for confirming.


More information about the luatex mailing list