[OS X TeX] Can someone please test this?
herbs at wideopenwest.com
Thu Apr 8 20:56:35 CEST 2010
On Apr 8, 2010, at 1:11 PM, Berend Hasselman wrote:
> On 08-04-2010, at 19:54, Herbert Schulz wrote:
>> Well, I forgot to attache the file again... Sigh...
>> Good Luck,
>> Herb Schulz
> I tried your last attempt again.
> Same error.
> I think I found the problem/error.
> The $pdflatex variable should look like this
> $pdflatex = "pdflatex $TSUserCompileOptions --synctex=1 --file-line-error %O %S; " .
> "if [ -e %B.asy ] ; then " .
> "asy %B.asy; pdflatex $TSUserCompileOptions --synctex=1 --file-line-error %O %S; " .
> "fi ";
> I added a semi-colon after %S on the third line: bash regarded the "fi" as argument to pdflatex.
> See attachment.
> And now it works!
Yeah... The first time around I forgot the semi-colon before the `then' and then, the second time around I left off the semi-colon you fixed. I think I got it that third time around. :-)
(herbs at wideopenwest dot com)
More information about the macostex-archives