[tex-k] epstopdf: using eps libraries

Norbert Preining preining at logic.at
Sun Nov 11 23:18:30 CET 2012


On So, 11 Nov 2012, Marcel Tünnissen wrote:
> $ /usr/bin/epstopdf  --gscmd='gs -dNOSAFER'  -o=f.pdf triangles.eps
> epstopdf ($Id: epstopdf.pl 26570 2012-05-22 16:14:37Z karl $) 2.18
> !!! Error: Cannot open Ghostscript for piped input

I checked epstopdf.pl, that is indeed a problem, the argument to
--gscmd is not split into words, but passed as a whole as the
gs command. Thus, adding additional arguments does not work.

I am not even sure if --gscmd='gs -dNOSAFER' could work, as we push
later on -dSAFER onto the cmd line arguments.

Maybe we extend epstopdf in two ways:
* add a command line switch -nosafer that changes the -dSAFER to -dNOSAFER
* split the --gscmd into words


Best wishes

Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
The man behind you in church who sings with terrific gusto almost tree
quarters of a tone off the note.
			--- Douglas Adams, The Meaning of Liff

More information about the tex-k mailing list