[tex-live] today's pdftex update

Ulrike Fischer news3 at nililand.de
Wed Jun 15 22:57:40 CEST 2016


Am Wed, 15 Jun 2016 16:22:38 +0100 schrieb David Carlisle:

> On 15 June 2016 at 16:11, Norbert Preining <norbert at preining.info> wrote:
>> Hi Herb, hi all.
>>
>>> >> !! Error: Option forbidden in restricted mode: --device
>>
>> Yes, support for the device options was removed in the restricted
>> mode. It should not be necessary at all.

> 
> yes but... the macros don't appear to be using that option
> 
> the log shows
> 
> runsystem(repstopdf --outfile=example-image-eps-converted-to.pdf example-image.
> epstopdf ($Id: epstopdf.pl 41287 2016-05-28 18:09:45Z karl $) 2.24
> !!! Error: Option forbidden in restricted mode: --device
> system returned with code 65280
> eps)...executed safely (allowed).
> 
> so if I read that right, the option isn't used, and repstopdf is
> allowed to run but then complains about the option?

Hm. epstopdf.pl contains

$::opt_device = $default_device;

and later

if ($::opt_device) {
  if ($restricted) {
    error "Option forbidden in restricted mode: --device";
  } else {
    debug "Switching from $default_device to $::opt_device";
  }
}


This looks wrong. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the tex-live mailing list