Bug 689328 - dvipdf doesnot pass -R flag to dvips
Summary: dvipdf doesnot pass -R flag to dvips
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: master
Hardware: All All
: P4 normal
Assignee: Default assignee
URL: http://www.cups.org/str.php?L2027
Keywords:
Depends on:
Blocks: 689315
  Show dependency tree
 
Reported: 2007-07-04 09:46 UTC by Till Kamppeter
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Add -R to dvipdf (1.87 KB, patch)
2007-07-04 09:47 UTC, Till Kamppeter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Till Kamppeter 2007-07-04 09:46:41 UTC
See

http://www.cups.org/str.php?L2027

-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

Patch attached.
Comment 1 Till Kamppeter 2007-07-04 09:47:26 UTC
Created attachment 3154 [details]
Add -R to dvipdf
Comment 2 Till Kamppeter 2007-07-05 03:57:21 UTC
Fixed in revision 8105.