On Aug 11, 2011, at 11:45 PM, Manuel Pégourié-Gonnard wrote:

> On a related note, I just ran some tests with kpse initialised and observed 
> that
> the kpse loader completely overrides the standard loader. It is obviously 
> doable
> (and easy) to reimplement the standard package.path-based searcher in Lua and
> insert it in the package.loaders table, but it's a pity since this loader
> already exists in LuaTeX.
> 
> In other words, unless I'm mistaken the current logic for package.loaders[2] 
> is
> the following:
> 
> if (kpse not initialised)
>       /* use standard loader and return */
> /* try using kpse and return */
> 

Yes, pretty much. You proposal sounds useful, so I've assigned it to myself:

   http://tracker.luatex.org/view.php?id=707

Best wishes,
Taco


Reply via email to