Package: rubber
Version: 1.1-1
Severity: normal

Hello,

It seems that the default settings of dvips have changed in Texlive
compared to the Tetex packages. The consequences may be quite
surprising to the users of Rubber.

Consider something as simple as this:

    \documentclass{article}
    \usepackage{graphicx}
    % rubber: module dvips
    % rubber: module ps2pdf
    \begin{document}
    \input{test.pstex_t}
    \end{document}

Create an arbitrary Xfig drawing, call it test.fig. Compile everything:

    > rubber -Wall test.tex
    converting /home/js/var/no-backup/tmp/dvips/test.fig into EPS/LaTeX...
    compiling test.tex...
    running dvips on test.dvi...
    running ps2pdf...

So, everything seems to be fine: no errors, no warnings. However, the
figure is missing in the created PDF and PS files!

Manually running dvips prints something like this:

    > dvips test.dvi
    This is dvips(k) 5.95b Copyright 2005 Radical Eye Software 
(www.radicaleye.com)
    ' TeX output 2006.06.29:2345' -> test.ps
    <tex.pro><texps.pro><special.pro>. <cmr10.pfb>[1
    dvips: Could not find figure file /home/.../test.pstex; continuing
    ]

The reason seems to be that the secure mode (-R) is now enabled by
default in dvips. In the secure mode, dvips refuses to read external
files, such as the generated pstex file above. (I do not know why the
message is so missleading and why dvips continues instead of failing.)

Adding something like this fixes the problem:

    % rubber: dvips.options -R0

I do not know whether this should be a default setting in rubber or
not. Anyway, I would appreciate if Rubber would report at least some
kind of warning or error if dvips fails to find a figure. It would be
even better if Rubber could guess that the error is caused by the
missing -R0 option, and tell the user that adding -R0 might fix the
problem.

Best regards,
Jukka Suomela

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=fi_FI, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

Versions of packages rubber depends on:
ii  python                        2.3.5-11   An interactive high-level object-o
ii  texlive-latex-base            2005-2     TeX Live: Basic LaTeX packages

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