[OS X TeX] pdflatex in AplleScript
serguei.mariev at campus.lmu.de
Wed Oct 20 09:17:22 EDT 2004
I am trying to invoke pdflatex from within the AplleScript.
This is what I do:
do shell script
-interaction=nonstopmode ~/Documents/diss/frg_typeset.tex "
This works fine as long as the pdflatex does not return any errors.
I know that my .tex file has a small problem, that is why I invoke
pdflatex with -interaction=nonstopmode option.
However, the Apple Script still returns an Error message and the
script does not finish successfully, i.e. the pdf file is not
To compare, if I invoke pdflatex from within a perl script
print qx(pdflatex -interaction=nonstopmode ~/Documents/diss/frg_typeset.tex);
it works just the way I want it, i.e. the document is typeset
correctly and the error message which is produced by pdftex does not
prevent the document from being typeset and .pdf file generated
what can I do to make AppleScript typeset the file and ignore the
error message from pdflatex?
sergei--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX