[tex4ht] luaxml-domobject.lua:62: bad argument #2 to 'format' (no value)

Nasser M. Abbasi nma at 12000.org
Sat Dec 19 01:28:25 CET 2020


Hello;

I am seeing a new error. Not only on this large file I have, but
on another file. I have not seen before:

make4ht --shell-escape -ulm default -a debug index.tex
     "mathjax,htm,fn-in,3,notoc*,p-width,charset=utf-8"  " -cunihtf -utf8"

[INFO]    make4ht-lib: parse_lg process file: insu15.htm
[INFO]    make4ht-lib: parse_lg process file: insu15.htm
[INFO]    make4ht: outdir:
[INFO]    make4ht-lib: parse_lg process file: insu16.htm
[INFO]    make4ht-lib: parse_lg process file: insu16.htm
[INFO]    make4ht: outdir:
[INFO]    make4ht-lib: parse_lg process file: insu17.htm
...e/2020/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua:62: bad argument #2 to 'format' (no value)

The file luaxml-domobject.lua is here
     https://github.com/michal-h21/LuaXML/blob/master/luaxml-domobject.lua

Line 62 says
              table.insert(output, string.format(format, ...))

Because of the above error the build stops. I also get

[FATAL]   make4ht-lib: Fatal error. Command t4ht returned exit code 1

I am sure due to the earlier error in luaxml-domobject.lua

This happens in both mathjax mode or without mathjax mode.

After seeing this error, I went and updated TL just now again,
just in case  it is something that got fixed.  But I still get the error

(base) >make4ht --version
make4ht version v0.3f

Just asking if someone seen this before? It is hard to make a MWE.

These are very large latex files, and they used to compile just fine before
so I have no idea what happened.

I am willing to try anything to find what could be the cause as
now I can't build these files any more.

Linux Ubuntu

thanks
--Nasser


More information about the tex4ht mailing list.