26 Dec
2006
26 Dec
'06
10:33 p.m.
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