Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580530 - dev-tex/tex4ht-20090611_p1038-r4 irregular formatting of longtable entries in list of tables
Summary: dev-tex/tex4ht-20090611_p1038-r4 irregular formatting of longtable entries in...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
Keywords: UPSTREAM
Depends on:
Reported: 2016-04-19 14:21 UTC by Ulrich Müller
Modified: 2020-06-24 10:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Minimal example (bug.tex,202 bytes, text/plain)
2016-04-19 14:23 UTC, Ulrich Müller
Generated HTML output (bug.html,2.95 KB, text/html)
2016-04-19 14:24 UTC, Ulrich Müller

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2016-04-19 14:21:59 UTC
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&#x00A0;<a 
href="#x1-10011">A table</a></span><br />

Whereas for a longtable it is:

<span class="lotToc" >&#x00A0;<a 
href="#x1-1003">2                                                                                A longtable</a></span><br />
Comment 1 Ulrich Müller gentoo-dev 2016-04-19 14:23:26 UTC
Created attachment 431234 [details]
Minimal example

Example showing the problem. Save as file bug.tex and run:
$ mk4ht xhlatex bug
Comment 2 Ulrich Müller gentoo-dev 2016-04-19 14:24:09 UTC
Created attachment 431236 [details]
Generated HTML output
Comment 3 Ulrich Müller gentoo-dev 2016-06-11 16:22:02 UTC
Reported upstream:
Comment 4 Alexis Ballier gentoo-dev 2017-02-08 16:33:18 UTC
doesnt seem fixed in texlive 2016, even with tex4ht-20090611_p1038-r5.ebuild pulling its texmf updates.
Comment 5 Larry the Git Cow gentoo-dev 2020-06-24 10:43:53 UTC
The bug has been closed via the following commit(s):

commit 63d5140b8f1458a26d07ff80d9f2c3c01acb2120
Author:     Ulrich Müller <>
AuthorDate: 2020-06-24 09:59:06 +0000
Commit:     Ulrich Müller <>
CommitDate: 2020-06-24 10:43:38 +0000

    dev-tex/tex4ht: Update texmf from TeXLive.
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Ulrich Müller <>

 dev-tex/tex4ht/Manifest                                              | 2 +-
 ...4ht-20090611_p1038-r9.ebuild => tex4ht-20090611_p1038-r10.ebuild} | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)