texlive/source-asymptote-gs9.15.dif

38 lines
1.4 KiB
Plaintext
Raw Normal View History

The device epswrite is gone with ghostscript 9.15 and the
eps2write has to be used officially. Only the new device
seems to not very handy with latex (boo#912398).
---
utils/asymptote/runlabel.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- utils/asymptote/runlabel.in
+++ utils/asymptote/runlabel.in 2015-01-11 15:41:30.000000000 +0000
@@ -111,7 +111,7 @@ array *readpath(const string& psname, bo
#else
const string null="/dev/null";
#endif
- cmd.push_back("-sDEVICE=epswrite");
+ cmd.push_back("-sDEVICE=eps2write");
cmd.push_back("-sOutputFile="+null);
cmd.push_back(stripDir(psname));
iopipestream gs(cmd,"gs","Ghostscript");
@@ -309,7 +309,7 @@ patharray2 *_texpath(stringarray *s, pen
cmd.push_back("-dNOPAUSE");
cmd.push_back("-dBATCH");
if(safe) cmd.push_back("-dSAFER");
- cmd.push_back("-sDEVICE=epswrite");
+ cmd.push_back("-sDEVICE=eps2write");
cmd.push_back("-sOutputFile=-");
cmd.push_back(pdfname);
iopipestream gs(cmd,"gs","Ghostscript");
@@ -398,7 +398,7 @@ patharray2 *textpath(stringarray *s, pen
cmd2.push_back("-dBATCH");
cmd2.push_back("-P");
if(safe) cmd2.push_back("-dSAFER");
- cmd2.push_back("-sDEVICE=epswrite");
+ cmd2.push_back("-sDEVICE=eps2write");
cmd2.push_back("-sOutputFile=-");
cmd2.push_back("-");
iopipestream gs(cmd2,"gs","Ghostscript");