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

Bug 577436

Summary: dev-texlive/texlive-latex-2015: url.sty inserts spurious underscores
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: [OLD] DevelopmentAssignee: Alexis Ballier <aballier>
Status: RESOLVED FIXED    
Severity: normal CC: tex
Priority: Normal Keywords: REGRESSION
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://projects.gentoo.org/pms/6/pms.html#x1-6000
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: urltest.tex
urltest.html
Patch for url.sty

Description Ulrich Müller gentoo-dev 2016-03-14 22:21:23 UTC
The url.sty from texlive-latex-2015 causes spurious underscores to be inserted in HTML output created with dev-tex/tex4ht-20090611_p1038-r3. See URL, last line above the "Reporting Issues" header (the path component there appears as "by-_sa" but should be "by-sa").

If I replace url.sty ver 3.4 with the one from TeX Live 2013 (url.sty ver 3.3) then the problem disappears.
Comment 1 Ulrich Müller gentoo-dev 2016-03-14 22:24:29 UTC
Created attachment 428260 [details]
urltest.tex

This is a minimal example that reproduces the bug.
Produce HTML output with:

$ mk4ht xhlatex urltest
Comment 2 Ulrich Müller gentoo-dev 2016-03-14 22:25:42 UTC
Created attachment 428262 [details]
urltest.html

HTML output.
Comment 3 Ulrich Müller gentoo-dev 2016-03-14 22:28:10 UTC
Created attachment 428264 [details, diff]
Patch for url.sty

Attached patch fixes the problem for me. It reverts a change that was done between url.sty versions 3.3 and 3.4.
Comment 4 Alexis Ballier gentoo-dev 2016-03-15 12:07:48 UTC
pdflatex output is fine, so i suspect a bug in tex4ht
however, see: http://tug.org/tex4ht/
Comment 5 Alexis Ballier gentoo-dev 2016-03-15 12:26:58 UTC
commit 2a09eece72dd88403ba3f003b859a5a80e91ad24
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Tue Mar 15 13:26:28 2016 +0100

    dev-tex/tex4ht: Grab texmf updates from texlive. Fixes bug #577436.


thx