[cups.bugs] [LOW] STR #2027: [PATCH] dvipdf doesnot pass -R flag to dvips

Eric_c Piel piel at lifl.fr
Sun Oct 15 06:04:09 PDT 2006


[STR New]

Hello,

dvipdf doesnot pass any flag to dvips (they are all passed to gs).
However, for some documents I really need to disable the (default) secure
option of dvips, aka "-R0". For instnace, some documents which I need
compile use figures from directories like "../fig", with the latest dvips
it's forbiden by default, so I get this kind of error:
$ dvipdf Distribute-Polyedre.dvi
dvips: Could not find figure file ../fig/GaspardY.eps; continuing
dvips: Could not find figure file ../fig/multiArchi.eps; continuing
dvips: Could not find figure file ../fig/multiplicationMatrice.eps;
continuing
dvips: Could not find figure file ../fig/multiplicationMatrice.eps;
continuing

In such case it's necessary to be able to pass -R flag to dvips. gs
doesn't have -R option so there is no problem. Attached is a patch to
dvipdf which allows passing the secure option to dvips.

Link: http://www.cups.org/str.php?L2027
Version: 8.15.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dvipdf-pass-secure-option.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20061015/220dd20b/attachment.ksh>


More information about the cups-devel mailing list