bundling ghostscript in mingw32 installer

Daniel J Sebald daniel.sebald at ieee.org
Wed Jun 3 21:36:23 CDT 2009


Benjamin Lindner wrote:

> I tend to vote for bundling it. Pro: pdf printing works
> out-of-the-box with gnuplot which does not have the pdf terminal. 
> Con: larger installer, yet another dependency, slightly more work
> when bundling (however, this should be a one-time-only effort, well,
> more or less)
> 
> What do you think?

Ben,

I'd vote to leave it out.  Since these are system calls to convert PS to PDF, I'd suggest testing during "print -dpdf" for the presence of GhostScript and if not present issue a warning that GhostScript is required for printing PDF files.  I say warning, rather than error, because it wouldn't be user friendly to error out of a running script simply because GhostScript is missing.

Dan


More information about the Octave-maintainers mailing list