[tex4ht] what is the fastest way to convert large document to HTML?

Michal Hoftich michal.h21 at gmail.com
Mon Aug 20 21:24:36 CEST 2018


Hi Nasser,


>
> Thank you again Michal;
>
> I do not understand why it works for you and it hangs for me.
>
> I made a small movie so you can see. This is animated GIF file,
> so please click on this in your browser to see the movie
>
> https://www.12000.org/tmp/hangs/movie.gif
>
>
> When I compile small.tex, it works. But when I compile try.tex
> which is large latex file, it seems to hang.
>
> make4ht -um draft -f html5+dvisvgm_hashes small.tex svg #works
> make4ht -um draft -f html5+dvisvgm_hashes try.tex svg #hangs
>
> i.e. no more output. It seems to stop in the middle
> as you can see in the movie. I do not know if I wait 5 hrs
> more or more it will finish as there is no indication it is doing
> anything.
>

It seems to hang in the  tex4ht step, it is indeed strange. But it
hangs even without the dvisvgm_hashes extension.

I think I've found the issue: you need to compile it with LuaTeX, so
use the -l option:

     make4ht -ulm draft -f html5+dvisvgm_hashes try.tex svg

I don't know why it hangs with pdflatex.

Best regards,
Michal


More information about the tex4ht mailing list