[NTG-context] remapper change in luatex-basics-gen.lua

Hans Hagen j.hagen at xs4all.nl
Sun Sep 30 01:20:48 CEST 2018


On 9/29/2018 11:38 PM, Ulrike Fischer wrote:
> in luatex-basics-gen.lua
> the remapper maps lua to "tex":
> 
> local remapper = {
>      otf    = "opentype fonts",
>      ttf    = "truetype fonts",
>      ttc    = "truetype fonts",
>      cid    = "cid maps",
>      cidmap = "cid maps",
>   -- fea    = "font feature files", -- no longer supported
>      pfb    = "type1 fonts",        -- needed for vector loading
>      afm    = "afm",
>      enc    = "enc files",
>      lua    = "tex", --<<<<<<<change
> }
> 
> This is new compared to the state in 2/2017

which is quite a while ago ...

> The remapper is then used in resolvers.findfile.
> 
> The change has been imported in latex with the new luaotfload and
> now broke the function  "pgf_lookup_and_require" in the pgf
> graphdrawing library which in its code uses resolvers.findfile --
> probably so that it works also as context library
> (http://minimals.contextgarden.net/current/modules/t-tikz/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.code.tex)
> 
> Due to the mapping of lua to the tex type
> resolvers.findfile("layered","lua") no longer finds layered.lua.
> 
> Apart from telling the pgf people not to use resolvers.findfile like
> this when latex is used, is there anything one could do in the
> generic fontloader?
hm, isn't latex using kpse ? in generic this resolver is just for fonts 
(and this one is for lua font files - some demos - with luatex-plain)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list