[texworks] Trouble with auto-pst-pdf

Iwan Setyawan isetyawan at gmail.com
Thu Nov 27 08:02:29 CET 2008


Hi Will,

I'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.

- Iwan
On Thu, Nov 27, 2008 at 1:00 PM, Will Robertson <wspr81 at gmail.com> wrote:

> On 27/11/2008, at 12:49 AM, Iwan Setyawan wrote:
>
>> Does this help narrowing down the problem?
>>
>>
> It helps confuse me further :(
> This is the code in ifplatform that checks to see if shell-escape is
> activated:
>
> \immediate\write18{echo \ip at win >"\ip at file"}
> \IfFileExists{\ip at file}{\shellescapetrue}{\shellescapefalse\endinput}
>
> If you write something similar, like this:
>
> \documentclass{article}
> \begin{document}
> \immediate\write18{ echo 'hello' > "temp.txt" }
> \IfFileExists{temp.txt}{Shell escape ON}{Shell escape OFF}
> \end{document}
>
> 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't be occurring; if it doesn't work, then why not?!
>
> Sorry this is taking so long :(
> Will
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texworks/attachments/20081127/b0a0dd84/attachment.html 


More information about the texworks mailing list