That's good to hear. Because of all the edge cases, the indexing code starts to become quite complex. I think I will need to rethink and rewrite it someday :(
Best regards, Michal On Mon, Mar 3, 2025 at 3:07 PM Jürgen Hubert <jhub...@gmx.de> wrote: > That did the trick, thanks! It also seems to fix some weird index-related > errors in my main file which I couldn't make sense of (and wasn't able to > put into an MVC). > > Thank you for your hard work! > > Best regards, > > - Jürgen > > > *Gesendet: *Sonntag, 2. März 2025 um 22:52 > *Von: *"Michal Hoftich" <michal....@gmail.com> > Hi Jürgen, > > > This kind of problem only seems to show up with index entries that start >> with numbers. Does anyone know what causes this, and if so how to prevent >> it? > > > The problem is that make4ht mistakes these index entries for page numbers. > It tries to detect page numbers which should be turned into links to index > destinations, but sometimes it fails. In this case, it thinks your > subentries start with page numbers, so it turns them to links. I hope the > attached version of the library helps. > > Best regards, > Michal >