[OS X TeX] using ITeXMac with external editor and preview
Tom Kiffe
tom at kiffe.com
Thu Feb 17 17:44:19 CET 2005
On Feb 17, 2005, at 8:23 AM, Jason Davies wrote:
> I want to use BBEdit to edit and Preview to view the pdf. I set the
> various prefs in ITeXMac but can't get it to co-operate. I have been
> running the following script to send the file to iTeXMac - can someone
> tell me what I am missing?:-)
>
> tell application "BBEdit"
> save active document of text window 1
> set f to file of active document of text window 1
> end tell
> set f to POSIX path of f
> -- assuming this works...
> tell application "iTeXMac"
> activate
>
> typeset given «class File»:f
> -- makeIndex given «class File»:f
> typeset given «class File»:f
> end tell
> --
> Jason P Davies
>
Try changing the typeset line to
typeset file f as string
or
compile with project "pdflatex" file f as string
Tom
--------------------- 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