[Top][All Lists]

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

[Octave-bug-tracker] [bug #44186] print command gives incorrect postscri

From: Rik
Subject: [Octave-bug-tracker] [bug #44186] print command gives incorrect postscript file
Date: Sat, 07 Feb 2015 18:48:23 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Follow-up Comment #13, bug #44186 (project octave):

It seems like this bug should be split into two.

Part 1 is upgrading ghostscript in MXE octave to a recent version with
ps2write support.

The second is a bug using Unix 'rm' command on Windows platforms.

I used grep on all of the m-files to find occurrences of rm.  See below:

./plot/util/private/__gnuplot_print__.m:62:          cleanup = [" ; rm "
./plot/util/private/__gnuplot_print__.m:135:        cmd = sprintf ("%s ; rm
%s", cmd, opts.ghostscript.source);

./plot/util/private/__ghostscript__.m:116:      cleanup_cmd = sprintf ("rm
%s", offsetfile);
./plot/util/private/__ghostscript__.m:151:      cleanup_cmd = sprintf ("rm
%s", opts.prepend);
./plot/util/private/__ghostscript__.m:153:      cleanup_cmd = sprintf ("%s ;
rm %s", cleanup_cmd, opts.prepend);

./plot/util/print.m:491:      cleanup = sprintf ("; rm %s ", filein);
./plot/util/print.m:503:      cleanup = horzcat (cleanup, sprintf ("; rm %s ",

The only file with a problem is __ghostscript__.m.  Examples of how to fix it
using a conditional test on dos_shell are in __gnuplot_print__.m or print.m. 
Could someone prepare a changeset for that?  We should take care of this
before the 4.0 release.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]