Package: rubber
Version: 1.0-1
Severity: normal

I have several .fig files associated to my document which use text with
the 'special' flag. When making a .dvi or .ps file, rubber correctly
uses fig2dev to create the appropriate .pstex_t and .pstex files.

However, this fails when making a PDF. It says things like:

  compiling research-statement.tex...
  paving.pstex_t:2: Unknown graphics extension: .pstex.
  paving.pstex_t:2: leading text: \includegraphics{paving.pstex}

There are two problems: first, the .pstex file is an EPS file, and it
never gets turned into a PDF (via epstopdf) because rubber doesn't "see"
any EPS files. Second, the \includegraphics command will still try to
include the .pstex file even when running pdflatex.

The solution is to slightly munge the .pstex_t file, so that instead of 
"\includgraphics{paving.pstex}", it omits the extension -- then, latex
will look for an EPS file, and pdflatex will look for a PDF file. Then,
rename the .pstex file to .eps since it's an EPS file anyway.

Then, one can run latex or pdflatex on the file and the EPS or PDF
version of your graphics will be used as necessary.

This could be considered a bug in fig2dev, but it's rubber that's not
giving me a PDF of my document, so I filed it here. :)

Thanks,

Dan Drake


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages rubber depends on:
ii  python                        2.3.5-3    An interactive high-level object-o
ii  tetex-bin                     2.0.2-31   The teTeX binary files

rubber recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to