Package: rubber
Version: 1.4-2
Severity: normal
Hello,
When writing a paper that uses elsarticle.cls, rubber doesn't generate
dependencies (PDF figures passed to includegraphics) when elsarticle.cls
is in the same directory.
If elsarticle.cls is moved to another directory and TEXINPUTS points there,
things work fine.
If this is a feature, it might be good to have a way to avoid it.
Assuming rubber parses elsarticle.cls when it finds it, we may want to
have a way to tell rubber to not parse it.
I am attaching a small example which fails:
$ tar xfj els.tar.bz2
$ cd els
$ rubber -dv article.tex
compiling article.tex...
executing: pdflatex \nonstopmode \input{article.tex}
There were errors compiling article.aux.
article.tex:7: File `foo' not found.
article.tex:7: leading text: \includegraphics{foo}
Now, if I move the cls away, it works:
$ mv elsarticle.cls ..
$ TEXINPUTS=..: rubber -dv article.tex
running: fig2dev -L pdf foo.fig foo.pdf...
compiling article.tex...
executing: pdflatex \nonstopmode \input{article.tex}
compiling article.tex...
executing: pdflatex \nonstopmode \input{article.tex}
In case it matters, if I don't set TEXINPUTS, foo.pdf is generated
before latex fails because it doesn't find elsarticle.cls.
thanks
Brice
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages rubber depends on:
pn python:any
ii texlive-latex-base 2015.20151225-1
rubber recommends no packages.
Versions of packages rubber suggests:
ii imagemagick8:6.8.9.9-6+b1
pn sam2p
ii texlive-binaries 2015.20150524.37493-7+b1
ii texlive-extra-utils2015.20151225-2
ii texlive-latex-extra2015.20151225-2
ii texlive-latex-recommended 2015.20151225-1
pn texlive-omega
ii texlive-pictures 2015.20151225-1
ii transfig 1:3.2.5.e-4
-- no debconf information
els.tar.bz2
Description: BZip2 compressed data