[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#139104: xdvi won't show relative-path-EPS-images ("../foo.eps")



Jakob Kjaer <mak@trashcan.dk> writes:

> xdvi doesn't seems to like EPS-files with relative pathnames (eg.
> "../figs/somefigure.eps") but works fine, at long as ".." is
> not used.
[...]
> gs: Error: /invalidfileaccess in --file--
> gs: Operand stack:
> gs:    (/usr/home/mak/proj/projekt/../figs/ts2memory.eps)   (r)

This is actually a problem which ghostscript 7.04 and higher,
which forbids `..' in path components. See e.g.:

http://sourceforge.net/tracker/?group_id=23164&atid=377583&func=detail&aid=525127

xdvik-22.40k has been updated to expand those relative paths.
However ...

> Btw, I'm running Sid

... I'd have thought that sid contains 22.40v? What's the output
of `xdvi.bin -version'?

As a workaround you can remove the `..' from your
\includegraphics paths. Instead of having path components in
\includegraphics{}, using TEXINPUTS is usually more
portable and easier; see epslatex.ps for details.

Best,
Stefan



Reply to: