Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 580530

Summary: dev-tex/tex4ht-20090611_p1038-r4 irregular formatting of longtable entries in list of tables
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: [OLD] DevelopmentAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://puszcza.gnu.org.ua/bugs/index.php?313
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Minimal example
Generated HTML output

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: https://puszcza.gnu.org.ua/bugs/index.php?313
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):

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(-)