<br><p>Hi Will,<br></p><p>OK, I'll try it later today when i'm in front of my windows box. I take it that 'ls' is the *nix command 'ls'? Should I try this only under Cygwin then?</p><p>Regarding the 2nd line of the original example (i.e, NOTUSING WINDOWS): as I said in my original post, I also get NOTUSING WINDOWS when I typeset the example from both TeXworks *and* windows command prompt. In these cases, shouldn't the output say USING WINDOWS?</p>
<p>- Iwan</p><div class="gmail_quote">On Wed, Nov 26, 2008 at 11:07 AM, Will Robertson <span dir="ltr"><<a href="mailto:wspr81@gmail.com">wspr81@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On 25/11/2008, at 9:55 PM, Iwan Setyawan wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've tried typesetting the example from within TeXworks, from the command prompt and from the Cygwin bash shell. All produce the same result:<br>
SHELL ESCAPE OFF<br>
NOTUSING WINDOWS<br>
<br>
I'm not sure about the first line... but the second line sounds wrong... :)<br>
</blockquote>
<br></div>
Actually, as far as ifplatform is concerned, "Cygwin" isn't counted as being Windows. Which is a bit confusing, but there you go.<br>
<br>
The shell escape part is more worrying. Try this:<br>
<br>
\documentclass[12pt]{article}<br>
\begin{document}<br>
\immediate\write18{ls}<br>
\end{document}<br>
<br>
No PDF should be produced, but the console output should contain the results of "ls". If you don't see that, then shell escape isn't active for you; if you *do* see it, then there's a problem with my package.<br>
<br>
Let me know :)<br>
<br>
Cheers,<br><font color="#888888">
Will<br>
</font></blockquote></div><br>