On 11-6-2010 3:03, Li Yanrui (李延瑞) wrote:
'kpse.find_file' now can not work in MkIV (beta 2010.06.10 15:24). The
attachment is a minimal example for this. When I compile it, I got the
following error:
LuaTeX error<main ctx instance>:2: attempt to call field 'find_file'
(a nil value)
stack traceback:
<main ctx instance>:2: in main chunk.
}inserted text> ...(kpse.find_file ("a", "lua"))
\dodostartluacode ...d \directlua \zerocount {#1}}
l.4 \stopluacode
i need to check it as i though that i overloades kpse vi ametatables
but i didn't check it ... as taco mentioned kpse is not to be used in mkiv
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________