<br><p>Hi Will,<br></p><p>I&#39;ll try it later today and will keep you updated. A (probably) stupid question: is it possible that this problem is due to incompatible/outdated versions of the packages? IIRC, I used the latest ifplatform and auto-pst-pdf that I found on CTAN.&nbsp;</p>
<p>- Iwan</p><div class="gmail_quote">On Thu, Nov 27, 2008 at 1:00 PM, Will Robertson <span dir="ltr">&lt;<a href="mailto:wspr81@gmail.com">wspr81@gmail.com</a>&gt;</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 27/11/2008, at 12:49 AM, Iwan Setyawan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does this help narrowing down the problem?<br>
<br>
</blockquote>
<br></div>
It helps confuse me further :(<br>
This is the code in ifplatform that checks to see if shell-escape is activated:<br>
<br>
\immediate\write18{echo \ip@win &gt;&quot;\ip@file&quot;}<br>
\IfFileExists{\ip@file}{\shellescapetrue}{\shellescapefalse\endinput}<br>
<br>
If you write something similar, like this:<br>
<br>
\documentclass{article}<br>
\begin{document}<br>
\immediate\write18{ echo &#39;hello&#39; &gt; &quot;temp.txt&quot; }<br>
\IfFileExists{temp.txt}{Shell escape ON}{Shell escape OFF}<br>
\end{document}<br>
<br>
does that work, or not? (Still with the -shell-escape option in use, of course.) If it does work, then \shellescape should always be true and your problem shouldn&#39;t be occurring; if it doesn&#39;t work, then why not?!<br>

<br>
Sorry this is taking so long :(<br><font color="#888888">
Will<br>
</font></blockquote></div><br>