[NTG-context] problem with 'kpse.find_file'

Khaled Hosny khaledhosny at eglug.org
Fri Jun 11 06:48:25 CEST 2010


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


More information about the ntg-context mailing list