maranget / hevea

Hevea is a fast latex to html translator
http://hevea.inria.fr
Other
97 stars 12 forks source link

Fix HTML-generation bug introduced in P/R #18 #42

Closed cspiel closed 3 years ago

cspiel commented 4 years ago

Fix "multiple label definition" bug in \@printindex and \printindex that was introduced in P/R #18

Macros \@printindex and \printindex of package imakeidx.hva define the label section@the@hevea@index. Multiple indices generate multiple definitions for this label. The result is an invalid HTML file.

This patch fixes the problem by appending the index name to the label, which results in section@the@hevea@index@default for the default case.

Found by xmllint.