[tex4ht] tex4ebook error with latest texlive
Boris Veytsman
borisv at lk.net
Tue Mar 4 20:48:26 CET 2025
MH> From: Michal Hoftich <michal.h21 at gmail.com>
MH> Date: Tue, 4 Mar 2025 11:42:21 +0100
MH> I've found that the problem is caused by the Makefile always removing all
MH> temporary files. TeX4ht needs several runs to get links right and store
MH> some information in the temporary files. So there are two possible fixes:
MH> 1. don't remove the temp files every time, only when necessary (using
MH> explicit "make clean" rule)
MH> 2. execute Make:htlatex {} multiple times after index generation:
Another option is using .SECONDARY pseudo-target (for GNU Make). From
the manual:
The targets which .SECONDARY depends on are treated as intermediate
files, except that they are never automatically deleted.
--
Good luck
-Boris
More information about the tex4ht
mailing list.