[dev-context] Error with mtx-tools

Aditya Mahajan adityam at umich.edu
Wed Jan 23 20:49:41 CET 2013

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.


More information about the dev-context mailing list