Package: rubber Version: 1.1+20100306-2 Severity: normal Dear Maintainer,
The lstinputlisting files are incorrectly parsed when you put a latex comment (%) after options. You can view a sample tex file producing error on: https://bitbucket.org/DavidVilla/rubber-bugs/src/d5e14fca90aa/lst-depends-wrong-parse.tex When you run: $ rubber -pdf -vv lst-depends-wrong-parse.tex This is Rubber version 1.1. parsing /home/david/repos/rubber-bugs/lst-depends-wrong-parse.tex built-in module listings registered dependencies: ['/home/david/repos/rubber-bugs/lst-depends-wrong-parse.tex', '%'] built-in module dvips registered built-in module ps2pdf registered '%' does not exist There were errors compiling lst-depends-wrong-parse.tex. '%' is parsed and procesed as a file name!! A simple Q&D patch for file "src/latex_modules/listings.py" can be: def hook_input (loc, opt, file): >if file.strip(' ') in ['%', '\n']: > return > if file.find('\\') < 0 and file.find('#') < 0: doc.add_source(file) Thanks -- System Information: Debian Release: jessie/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rubber depends on: ii dpkg 1.16.10 ii install-info 5.1.dfsg.1-5 ii python 2.7.5-5 ii python-support 1.0.15 ii texlive-latex-base 2013.20130918-1 rubber recommends no packages. Versions of packages rubber suggests: ii imagemagick 8:6.7.7.10-6 pn sam2p <none> ii transfig 1:3.2.5.d-3 -- 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