� 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 -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------