[Top][All Lists]

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

[Octave-bug-tracker] [bug #57143] print ('-tight', 'q.eps') produces no

From: Rik
Subject: [Octave-bug-tracker] [bug #57143] print ('-tight', 'q.eps') produces no file
Date: Wed, 11 Mar 2020 11:18:03 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #12, bug #57143 (project octave):

I would start with reviewing the file scripts/plot/util/print.m and the
subfunction epstool.

function cmd = epstool (opts, filein, fileout)
  ## As epstool does not work with pipes, a subshell is used to
  ## permit piping.  Since this solution does not work with the DOS
  ## command shell, the -tight and -preview options are disabled if
  ## output must be piped.

  ## DOS Shell:
  ##   gs.exe [...] -sOutputFile=<filein> - & epstool -bbox -preview-tiff
<filein> <fileout> & del <filein>
  ## Unix Shell;
  ##   cat > <filein> ; epstool -bbox -preview-tiff <filein> <fileout> ; rm

I don't know if the comment is meaningful about -tight being disabled.  Also,
command that is eventually used is contstructed by parts in this function.  I
would examine it carefully because it is the source of the extra output
filename being placed in the command.


Reply to this item at:


  Message sent via Savannah

reply via email to

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