On Fri, Jun 11, 2010 at 09:03:27AM +0800, 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 > > ?
kpse library is disabled in ConTeXt, use "resolvers" instead (search the code for usage examples). -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________