[OS X TeX] BBedit and LaTeX
ophiochos at gmail.com
Fri Apr 13 09:54:49 EDT 2007
>I think in this case the applescript code assumes that TeXShop
>already has the document open, although it doesn't matter
>whether or not it is the front-most document. (If it isn't the
>front document, it is brought to the front after it is
>compiled.) Additional code would have to be added in order to
>tell TeXShop to open the document before it attempts to compile
>it. I don't have time at the moment to figure out how to do that.
tell application "BBEdit"
save active document of text window 1
set texdatei to file of active document of text window 1
tell application "TeXShop"
latex document of window 1
as far as I can see, BBEdit's support for TeX is currently
mostly the syntax colouring but I've found them interested (but
not expert) in adding stuff for TeX. Eg they just implemented
folding for \paragraph and \subparagraph (as they had for
chapter etc) when I sent them a detailed report.
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX