MH> From: Michal Hoftich <[email protected]>
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