In the list of tables, entries for longtables include the table's number inside of the link, whereas entries for normal tables (or for figures) don't include it. The generated HTML for a table entry looks like this: <span class="lotToc" >1 <a href="#x1-10011">A table</a></span><br /> Whereas for a longtable it is: <span class="lotToc" > <a href="#x1-1003">2 A longtable</a></span><br />
Created attachment 431234 [details] Minimal example Example showing the problem. Save as file bug.tex and run: $ mk4ht xhlatex bug
Created attachment 431236 [details] Generated HTML output
Reported upstream: https://puszcza.gnu.org.ua/bugs/index.php?313
doesnt seem fixed in texlive 2016, even with tex4ht-20090611_p1038-r5.ebuild pulling its texmf updates.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d5140b8f1458a26d07ff80d9f2c3c01acb2120 commit 63d5140b8f1458a26d07ff80d9f2c3c01acb2120 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2020-06-24 09:59:06 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-06-24 10:43:38 +0000 dev-tex/tex4ht: Update texmf from TeXLive. Closes: https://bugs.gentoo.org/580530 Bug: https://puszcza.gnu.org.ua/bugs/?313 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Ulrich Müller <ulm@gentoo.org> dev-tex/tex4ht/Manifest | 2 +- ...4ht-20090611_p1038-r9.ebuild => tex4ht-20090611_p1038-r10.ebuild} | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)