[OS X TeX] pdflatex in AplleScript
Stefan Walsen
stefan at walsen.net
Wed Oct 20 16:46:52 CEST 2004
Sergei Mariev wrote:
> what can I do to make AppleScript typeset the file and ignore the error
> message from pdflatex?
You can enclose the command that may produce an error in a "try ... end
try" block. This will keep applescript from producing the error message
and aborting the script.
If you want to handle the error, user the following syntax:
try
<statements here>
on error
<handle errors here>
end try
HTH,
Stefan
--------------------- 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 macostex-archives
mailing list