ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Can texexec enable write18 at runtime
@ 2005-11-24 19:40 David Arnold
  2005-11-24 20:09 ` Taco Hoekwater
  2005-11-24 20:52 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: David Arnold @ 2005-11-24 19:40 UTC (permalink / raw)


All,

In GWTeX, I could turn on write18 here:

% Enable \write18 (run shell processes from within TeX job)
% Set to t if needed
% (I think this might have security implications, especially if you
% run tex jobs as administrator, so I keep it turned off by default
shell_escape = f

But, because of security, I am wondering if I can leave this as is  
and use texexec to enable write18 at runtime.

Is there a switch for this?

I know you can do it with pdflatex with:

pdflatex --shell-escape

David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can texexec enable write18 at runtime
  2005-11-24 19:40 Can texexec enable write18 at runtime David Arnold
@ 2005-11-24 20:09 ` Taco Hoekwater
  2005-11-24 20:52 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2005-11-24 20:09 UTC (permalink / raw)


David Arnold wrote:
> 
> But, because of security, I am wondering if I can leave this as is  and 
> use texexec to enable write18 at runtime.
> 
> Is there a switch for this?

You can use --passon

   texexec --passon='--shell-escape'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can texexec enable write18 at runtime
  2005-11-24 19:40 Can texexec enable write18 at runtime David Arnold
  2005-11-24 20:09 ` Taco Hoekwater
@ 2005-11-24 20:52 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2005-11-24 20:52 UTC (permalink / raw)


David Arnold wrote:

> All,
>
> In GWTeX, I could turn on write18 here:
>
> % Enable \write18 (run shell processes from within TeX job)
> % Set to t if needed
> % (I think this might have security implications, especially if you
> % run tex jobs as administrator, so I keep it turned off by default
> shell_escape = f
>
> But, because of security, I am wondering if I can leave this as is  
> and use texexec to enable write18 at runtime.
>
> Is there a switch for this?
>
> I know you can do it with pdflatex with:
>
> pdflatex --shell-escape
>
the latest version of pdftex can determine if write18 is enables so we 
can indeed make context/texexec a bit more clever; however, i'm always a 
bit carefull with such things because i want to make sure that users run 
recent binaries

Hans

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-24 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-24 19:40 Can texexec enable write18 at runtime David Arnold
2005-11-24 20:09 ` Taco Hoekwater
2005-11-24 20:52 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).