help-octave
[Top][All Lists]
Advanced

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

Re: Can't save a plot


From: Dmitri A. Sergatskov
Subject: Re: Can't save a plot
Date: Sun, 11 Nov 2012 21:09:53 -0600


On Sun, Nov 11, 2012 at 2:23 PM, Jorgen Sandberg <address@hidden> wrote:
Dear Ben,

In my mind the -G option does not work as intended.


I think there is a bug in __print_parse_opts__.m
(at least as of version 3.6.3)


 arg_st.ghostscript.binary = file_in_path (getenv ("PATH"), arg(3:end));
        if (isempty (arg_st.ghostscript.binary))
          error ("print: Ghostscript binary ""%s"" could not be located",
                 arg(3:end));
        else
          arg_st.ghostscript_binary = __quote_path__ (arg_st.ghostscript_binary);


Should not the  last line be
arg_st.ghostscript_binary = __quote_path__ (arg_st.ghostscript.binary);

?

Dmitri.
--



reply via email to

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