Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577436 - dev-texlive/texlive-latex-2015: url.sty inserts spurious underscores
Summary: dev-texlive/texlive-latex-2015: url.sty inserts spurious underscores
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL: https://projects.gentoo.org/pms/6/pms...
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2016-03-14 22:21 UTC by Ulrich Müller
Modified: 2016-03-15 12:26 UTC (History)
1 user (show)

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


Attachments
urltest.tex (urltest.tex,108 bytes, text/plain)
2016-03-14 22:24 UTC, Ulrich Müller
Details
urltest.html (urltest.html,995 bytes, text/html)
2016-03-14 22:25 UTC, Ulrich Müller
Details
Patch for url.sty (url.sty.diff,428 bytes, patch)
2016-03-14 22:28 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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