Bug 689328

Summary: dvipdf doesnot pass -R flag to dvips
Product: Ghostscript Reporter: Till Kamppeter <till.kamppeter>
Component: GeneralAssignee: Default assignee <ghostpdl-bugs>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P4    
Version: master   
Hardware: All   
OS: All   
URL: http://www.cups.org/str.php?L2027
Customer: Word Size: ---
Bug Depends on:    
Bug Blocks: 689315    
Attachments: Add -R to dvipdf

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.