[tex4ht] --- error --- Illegal storage address on file when adding " -cunihtf -utf8"

Nasser M. Abbasi nma at 12000.org
Fri May 22 03:02:09 CEST 2020


I am trying to compile old latex file.

When I use this command on it (all on one line)

make4ht -ulm default -a debug index.tex
   "htm,1,mathjax,notoc*,p-width,charset=utf-8" " -cunihtf -utf8"

tex4ht crashes. It does not matter if I use mathjax or not. So not
related to mathjax. This also crashes

make4ht -ulm default -a debug index.tex
    "htm,1,notoc*,p-width,charset=utf-8" " -cunihtf -utf8"

============
Output written on index.dvi (31 pages, 115760 bytes).
Transcript written on index.log.
[INFO]    make4ht-lib: executing: tex4ht  -cunihtf -utf8 "index.dvi"
--- error --- Illegal storage address
----------------------------
tex4ht.c (2018-07-03-10:36 kpathsea)
tex4ht -cunihtf
   -utf8
   index.dvi
(/usr/local/texlive/2020/texmf-dist/tex4ht/base/unix/tex4ht.env)
(/usr/local/texlive/2020/texmf-dist/tex4ht/ht-fonts/unicode/charset/unicode.4hf)
(/usr/local/texlive/2020/texmf-dist/fonts/tfm/public/lm/rm-lmri12.tfm)
(/usr/local/texlive/2020/texmf-dist/tex4ht/ht-fonts/unicode/lm/rm-lm.htf)

[FATAL]   make4ht-lib: Fatal error. Command tex4ht returned exit code 1
(base) >
===========================

Only when I remove the last part of the command " -cunihtf -utf8", it
works:

make4ht -ulm default -a debug index.tex
     "htm,1,mathjax,notoc*,p-width,charset=utf-8"

......
[INFO]    make4ht: outdir:
[INFO]    make4ht-lib: parse_lg process file: test_1024r_b.png
[INFO]    make4ht: outdir:
[STATUS]  make4ht: Conversion finished
(base) >
=====================

I've always used " -cunihtf -utf8" argument and never had problem.

THis is old latex file, which I wrote long time ago in Scientific word
and has lots of includegraphics of png images.

Any idea why this could happen? it is hard for me to guess why this
happens.

Can I put the whole file with all the images in a zip file and
may be someone could please try it to see if they get same crash?

Using TL 2020

--Nasser



More information about the tex4ht mailing list.