Package: latex-make
Version: 2.1.18-2
Severity: normal
Tags: patch

Hi,

The file /usr/share/texmf/scripts/latex-make/latexfilter.py has a
regex that tries to match and print out "Overfull \hbox" and
"Underfull \vbox" warnings, but the regex is improperly escaped, so it
never matches anything.

Patch below makes it a raw string which works.

-jim

--- latexfilter.py.orig 2013-04-14 16:40:48.214314227 -0400
+++ latexfilter.py      2013-04-14 16:40:55.090569470 -0400
@@ -22,7 +22,7 @@
     in_display = 0
     start_line = ''
     warnerror_re = re.compile("^(LaTeX|Package|Class)( (.*))? 
(Warning:|Error:)")
-    fullbox_re = re.compile("^(Underfull|Overfull) \\[hv]box")
+    fullbox_re = re.compile(r"^(Underfull|Overfull) \\[hv]box")
     for line in sys.stdin:
         if display > 0:
             display -= 1


-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (200, 'stable'), (80, 'testing'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages latex-make depends on:
ii  dpkg         1.16.8       
ii  ghostscript  8.71~dfsg2-10
ii  make         3.81-8.1     
ii  python       2.7.2-9      
ii  tex-common   3.15         
ii  transfig     1:3.2.5.c-1  

Versions of packages latex-make recommends:
ii  inkscape                   0.48.3.1-1.3   
ii  texlive-latex-extra        2012.20120611-2
ii  texlive-latex-recommended  2012.20120611-5

latex-make suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to