[dev-context] Error with mtx-tools

Hans Hagen pragma at wxs.nl
Wed Jan 23 09:21:55 CET 2013


On 1/23/2013 6:31 AM, Aditya Mahajan wrote:
> Hi,
>
> Running
>
>      mtxrun --script tools --dirtoxml
>
> gives an error.
>
> ....minimals/texmf-context/scripts/context/lua/mtx-tools.lua:127:
> attempt to call global 'extname' (a nil value)
>
> Adding
>
>      local extname = file.extname
>
> fixed this issue.

or replace the "extname" by "suffixonly" (fixed here)

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