--- runfiles/texmf-dist/tex/context/base/mkiv/data-res.lua.orig 2024-03-15 16:34:25 +++ runfiles/texmf-dist/tex/context/base/mkiv/data-res.lua 2024-03-15 16:36:19 @@ -141,38 +141,8 @@ resolvers.luacnfspec = { "home:texmf/web2c", - "selfautoparent:/texmf-local/web2c", - "selfautoparent:/texmf-context/web2c", - "selfautoparent:/texmf/web2c", + "@@TEXMFSYSCONFIG@@", } - - if environment.default_texmfcnf then - -- this will go away (but then also no more checking in mtxrun.lua itself) - resolvers.luacnfspec = { - "home:texmf/web2c", - environment.default_texmfcnf, -- texlive + home: for taco etc - } - elseif texroot and isdir(texroot .. "/texmf-context") then - -- we're okay and run the lean and mean reference installation - elseif texroot and isdir(texroot .. "/texmf-dist") then - -- we're in texlive where texmf-dist is leading - resolvers.luacnfspec = { - "home:texmf/web2c", - "selfautoparent:/texmf-local/web2c", - "selfautoparent:", -- new per 2024 as it's needed for osx - "selfautoparent:/texmf-dist/web2c", - "selfautoparent:/texmf/web2c", - } - elseif ostype ~= "windows" and isdir("/etc/texmf/web2c") then - -- we have some linux distribution that does it its own way - resolvers.luacnfspec = { - "home:texmf/web2c", - "/etc/texmf/web2c", - "selfautodir:/share/texmf/web2c", - } - else - -- we stick to the reference specification - end resolvers.luacnfspec = concat(resolvers.luacnfspec,";")