On Di, 13 Nov 2007, Ulf Ochsenfahrt wrote:
> When dvips is invoked, it looks in the current directory for eps files
> instead of the directory which contains the dvi file. This means that

latex searches eps via TEXINPUTS, and AFAIR also dvips.

So it finds what you find with TEXINPUTS:

> dvips cannot be used to compile dvi files which are in a different
than

Yes, but the TEXINPUTS path must be fixed.

> 5. convert dvi file to ps
> dvips directory/test.dvi

Not surprising. In the respective \special which is saved into the dvi
file there is nothing about the directory:
$ strings test.dvi       
 TeX output 2007.11.15:1302
:PSfile="test.eps" llx=100 lly=100 urx=150 ury=150 rhi=566 
cmr10
cmr10
$

A simple solution is to call
$ TEXINPUT=directory/: dvips directory/test.tex

> 6. observe the error message
> dvips: Could not find figure file test.eps; continuing.

Yes it says what it is ...

Simple solution: Set your TEXINPUTS right.

PLease can someone close this bug?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <[EMAIL PROTECTED]>        Vienna University of Technology
Debian Developer <[EMAIL PROTECTED]>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
VANCOUVER (n.)
The technical name for one of those huge trucks with whirling brushes
on the bottom used to clean streets.
                        --- Douglas Adams, The Meaning of Liff

-- 
dvips searches current directory for eps files instead of target
https://bugs.launchpad.net/bugs/162445
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to