ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: \ifshellescape
Date: Tue, 26 Dec 2006 23:33:28 +0100	[thread overview]
Message-ID: <6faad9f00612261433s6e7da718if20b4d2714f141c9@mail.gmail.com> (raw)
In-Reply-To: <45919FEF.40602@wxs.nl>

On 12/26/06, Hans Hagen wrote:
> Peter Münster wrote:
> > On Tue, 26 Dec 2006, Mojca Miklavec wrote:
> >
> >
> >> is there any command to test for write18/shell escape available in ConTeXt?
> >>
> > There is such a command in pdfTeX-1.40 but I don't remember the name
> > (I think it's "\ifshellescape").
> > Cheers, Peter
> >
> >
>  >grep shellescape *.tex
> core-job.tex:\ifx\pdfshellescape\undefined \else
> core-job.tex:    \chardef\systemcommandmode \ifcase\pdfshellescape
> \plusone \else \plustwo \fi
>
> so \systemcommandmode is your friend

Wait! So many alternatives that I'll have to create another function
to choose one of them randomly ;)

Thanks a lot, (I'll use \systemcommandmode then),
   Mojca

  reply	other threads:[~2006-12-26 22:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-26 13:35 \ifshellescape Mojca Miklavec
2006-12-26 17:48 ` \ifshellescape Aditya Mahajan
2006-12-26 18:57 ` \ifshellescape Peter Münster
2006-12-26 20:55   ` \ifshellescape Henning Hraban Ramm
2006-12-26 21:16   ` \ifshellescape Martin Schröder
2006-12-26 22:19   ` \ifshellescape Hans Hagen
2006-12-26 22:33     ` Mojca Miklavec [this message]
2006-12-26 22:43       ` \ifshellescape Martin Schröder
2006-12-26 23:08     ` \ifshellescape Mojca Miklavec
2006-12-27  8:22       ` \ifshellescape Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00612261433s6e7da718if20b4d2714f141c9@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).