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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________