View Issue Details

IDProjectCategoryView StatusLast Update
0000707luatexfeature requestpublic2015-10-24 21:11
ReporterTaco Assigned ToTaco  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Target Version0.80.0 
Summary0000707: external modules search path
DescriptionFrom mpg:

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 */

May I suggest to change that to:

if (kpse initialised) {
    /* try using kpse */
    if (it worked)
        /* return */
}
/* use standard loader and return */

(And similarly for package.loaders[3] and [4].)

Thanks,
Manuel.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-08-12 08:49 Taco New Issue
2011-08-12 08:49 Taco Status new => assigned
2011-08-12 08:49 Taco Assigned To => Taco
2015-10-24 21:11 Hans Hagen Status assigned => closed
2015-10-24 21:11 Hans Hagen Resolution open => no change required