[dev-context] Bug in \usepath

Hans Hagen pragma at wxs.nl
Mon Jun 18 10:36:36 CEST 2012


On 14-6-2012 16:53, Marco wrote:
> There's something fishy with \usepath. A simple call fails with
>
> ! LuaTeX error ...-new/tex/texmf-context/tex/context/base/data-res.lua:688: attempt to get length of local 'subpaths' (a nil value)
> stack traceback:
> 	...-new/tex/texmf-context/tex/context/base/data-res.lua:688: in function 'registerextrapath'
> 	...-new/tex/texmf-context/tex/context/base/file-job.lua:71: in function 'usepath'
> 	<main ctx instance>:1: in main chunk.
>
> \usepath [chapters]
> \starttext
>    Foo
> \stoptext

line 681:

function resolvers.registerextrapath(paths,subpaths)
     paths = settings_to_array(paths)
     subpaths = settings_to_array(subpaths)


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------




More information about the dev-context mailing list