problem with 'kpse.find_file'
'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 ? -- Best regards, Li Yanrui (李延瑞)
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
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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Khaled Hosny
-
Li Yanrui (李延瑞)