Package: rubber
Version: 1.1-2.1
Severity: normal

Hello,

The index module of Rubber supports the index package which support
multiple indices.  For each index, Rubber detects the customly defined idx-
and ind-extenionsions.  However, when calling makeindex, it forgets to pass
the explicit custom idx-extension and uses the input file basenames.  This
results in only the default index being built and this even fails if no
default index is used.

I have attached a trivial fix.  It calls makeindex with the appropiate
source (full) filename.

Regards,
Paul

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (102, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=nl_NL.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rubber depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  tetex-bin                     2007-12    TeX Live: teTeX transitional packa
ii  texlive-latex-base            2007-12    TeX Live: Basic LaTeX packages

rubber recommends no packages.

-- no debconf information
--- /usr/share/rubber/rubber/rules/latex/index.py.orig  2007-10-01 
13:17:12.000000000 +0200
+++ /usr/share/rubber/rubber/rules/latex/index.py       2007-10-01 
13:17:50.000000000 +0200
@@ -117,7 +117,7 @@
                        cmd.extend(["-t", self.transcript])
                        if self.style:
                                cmd.extend(["-s", self.style])
-                       cmd.append(self.pbase)
+                       cmd.append(self.source)
                        path_var = "INDEXSTYLE"
 
                elif self.tool == "xindy":

Reply via email to