[tex4ht] make4ht-lib: Fatal error. Command t4ht returned exit code 1, Too many characters (> 500) for map line: `l'

Nasser M. Abbasi nma at 12000.org
Sun Feb 7 00:38:44 CET 2021

On 2/6/2021 1:35 PM, Michal Hoftich wrote:
> Hi Nasser,
>> [INFO]    make4ht-lib: executing: t4ht  -utf8 "content_all.dvi"
>> --- error ---
>> t4ht.c (2018-07-04-14:25 kpathsea)
>> t4ht -utf8
>>   content_all.dvi
>> [FATAL]   make4ht-lib: Fatal error. Command t4ht returned exit code 1
> This seems like error in the last step of compilation, when pictures and
> CSS file are generated. As you use MathJax output, you shouldn't have
> problems with pictures. HTML files should be generated at this point.
> The error message is not really helpful in this case.
>> https://www.12000.org/tmp/02042021/content_all.zip
> I get 404 error for this file, so I cannot test it.
> Best regards,
> Michal

Hi Michal;

Please try again, it should now work.


This is strange error. Sometimes it happens when I keep last compile
.aux and .dvi files around. It seems tex4ht get confused by having
old .aux and .dvi files in the folder.

So now I changed my makefiles to make sure these are deleted before
any new compile is started. I do not know if this has anything to
do with this error.

Best regards

More information about the tex4ht mailing list.