[texworks] Trouble with auto-pst-pdf

Iwan Setyawan isetyawan at gmail.com
Wed Nov 26 15:19:53 CET 2008

Hi Will,

I have tried typesetting the example you provided (changing 'ls' to 'dir' so
I could test it both using windows command prompt and Cygwin shell) using
the following command:

pdflatex -shell-escape <file>

Both in windows command prompt and in cygwin shell, I saw the output of the
'dir' command.

Does this help narrowing down the problem?

- Iwan
On Wed, Nov 26, 2008 at 1:42 PM, Will Robertson <wspr81 at gmail.com> wrote:

> On 26/11/2008, at 3:54 PM, Iwan Setyawan wrote:
>> 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?
>>  If you're using Windows without Cygwin, try 'dir' instead, I suppose.
> It's just to see if the shell-escape is actually working -- it doesn't
> matter what command it is.
>> 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?
> You could consider this a bug of the ifplatform package, I suppose. It
> detects the platform by analysing the side-effects of the shell; if you're
> using Cygwin, then the shell behaves like a *NIX shell.
> Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texworks/attachments/20081126/266128fc/attachment.html 

More information about the texworks mailing list