Package: dblatex
Version: 0.3.9-1
Severity: normal
Tags: upstream patch
Control: forwarded -1 https://sourceforge.net/p/dblatex/bugs/114/

I just want to track this upstream bug in Debian:
https://sourceforge.net/p/dblatex/bugs/114/

I would like to see it fixed in Debian immediately if possible as it
affects the PDF output of the debian-handbook.

The patch is trivial:
--- a/lib/dbtexmf/dblatex/texhyphen.py
+++ b/lib/dbtexmf/dblatex/texhyphen.py
@@ -49,7 +49,7 @@ class UrlHyphenator(Hyphenator):
     existing latex styles.
     """
     def __init__(self, codec=None,
-                 h_sep="\penalty0 ", h_char="\penalty5000 ",
+                 h_sep="\penalty0{}", h_char="\penalty5000{}",
                  h_start=3, h_stop=3):
         self.codec = codec
         self.seps = r":/\@=?#;-."


I can upload an NMU if you want. I'm not sure that it will be accepted
in stretch but it's also unlikely to be problematic so it might be accepted.

Cheers,

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dblatex depends on:
ii  docbook-xml           4.5-8
ii  python-apt            1.4.0~beta3
pn  python:any            <none>
ii  texlive               2016.20170123-5
ii  texlive-bibtex-extra  2016.20170123-5
ii  texlive-extra-utils   2016.20170123-5
ii  texlive-latex-extra   2016.20170123-5
ii  texlive-math-extra    2016.20161008-1
ii  xsltproc              1.1.29-2.1

Versions of packages dblatex recommends:
ii  dblatex-doc    0.3.9-1
ii  libxml2-utils  2.9.4+dfsg1-2.2

Versions of packages dblatex suggests:
pn  docbook                          <none>
ii  evince [pdf-viewer]              3.22.1-3
ii  fig2dev [transfig]               1:3.2.6a-2
ii  ghostscript                      9.20~dfsg-3.1
ii  imagemagick                      8:6.9.7.4+dfsg-6
ii  imagemagick-6.q16 [imagemagick]  8:6.9.7.4+dfsg-6
ii  inkscape                         0.92.1-1
pn  latex-cjk-all                    <none>
ii  lmodern                          2.004.5-3
ii  opensp                           1.5.2-13+b1
pn  texlive-lang-all                 <none>
ii  texlive-lang-cyrillic            2016.20170123-5
ii  texlive-xetex                    2016.20170123-5
ii  transfig                         1:3.2.6a-2
pn  xindy                            <none>

-- no debconf information

-- debsums errors found:
debsums: changed file 
/usr/lib/python2.7/dist-packages/dbtexmf/dblatex/texhyphen.py (from dblatex 
package)

Reply via email to