On Wed, 23 Jan 2013, Hans Hagen wrote:

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)

Is the generated output supposed to work with MkIV as well? After saving the output to figures.xml, I tried

   context --input=figures.xml auto:x-res-01.mkiv

but only got a pdf with file names. The wiki claims that the XML format for MkIV has changed, but I haven't used that in a while.

Aditya
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to