\startlua local function finder(name, mode, ftype) if mode=="w" then return name else return kpse.find_file(name,ftype) end end
Jein! The only file in my tex tree which could play that roule is cont-en-mpost.mem in the cache \tex\texmf-cache\luatex- cache\context\c80dc1fd5292ec817c6e82c295beaf1e\formats this file causes from a metapost:process run and is not overwritten by my example. So, there is not written any mpost.mem in the whole tree. Gruß, Wolfgang
Wolfgang Werners-Lucchini wrote:
\startlua local function finder(name, mode, ftype) if mode=="w" then return name else return kpse.find_file(name,ftype) end end
Jein!
The only file in my tex tree which could play that roule is
cont-en-mpost.mem
in the cache
\tex\texmf-cache\luatex- cache\context\c80dc1fd5292ec817c6e82c295beaf1e\formats
this file causes from a metapost:process run and is not overwritten by my example.
So, there is not written any mpost.mem in the whole tree.
mkiv adds cont-en infront of the format name, in order to avoid clashes, also formats are only created once Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Wolfgang Werners-Lucchini wrote:
\startlua local function finder(name, mode, ftype) if mode=="w" then return name else return kpse.find_file(name,ftype) end end
Jein!
Try this, a little more elaborate, version of finder: local function finder(name, mode, ftype) local found if mode=="w" then found = name else found = kpse.find_file(name,ftype) end print("MPlib finder: " .. name .. " -> " .. found) return found end maybe that will give a clue. Best wishes, Taco
participants (3)
-
Hans Hagen
-
Taco Hoekwater
-
Wolfgang Werners-Lucchini