[tex-k] epstopdf: using eps libraries
Reinhard Kotucha
reinhard.kotucha at web.de
Mon Nov 12 01:44:52 CET 2012
On 2012-11-12 at 07:18:30 +0900, Norbert Preining wrote:
> 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.
At a first glance I thought that --gscmd was supposed to replace
options too, but obviously its purpose is to change only the program
name. It's probably superfluous since $^O is checked already.
> I am not even sure if --gscmd='gs -dNOSAFER' could work, as we push
> later on -dSAFER onto the cmd line arguments.
Yes, this can't work.
> Maybe we extend epstopdf in two ways:
> * add a command line switch -nosafer that changes the -dSAFER to
> * -dNOSAFER
Sounds good, but it should be ignored if ($restricted != 0).
> * split the --gscmd into words
IMO the benefit is very small because you can't pass arbitrary options
to gs this way. The order matters. I suppose that you can write
gs -dNOSAFER file1.ps -dSAFER file2.ps
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the tex-k
mailing list