[tex4ht] imakeidx index question
jhubert at gmx.de
Tue Dec 17 07:24:10 CET 2019
Here is a strange phenomenon I've just discovered:
I am compiling an ebook with a hyperlinked index, using imakeidx. I am also giving subsubsections a counter that is separate from chapters, sections, and subsections - these represent individual stories within the larger book. This is done with
Now, when the subsubsections have a higher-level subsection, like this:
then any index entries within <Story> refer to "31" within the compiled epub document.
However, if I haven't used any preceding Subsection like this:
then the index entry within <Story> links back to "2.2" instead of "34".
Can anyone think of a workaround for this? I would really like keep a separate number for the individual stories, and use these as the base for index entries - but for many sections it just doesn't make sense to have subsections in the manuscript.
More information about the tex4ht