[Mac OS X TeX] BBEdit 6.5 & OzTeX 5.0b7

Ingo Reich ingo.reich at uni-tuebingen.de
Sat Jan 26 11:57:19 CET 2002


Hi,

Am Samstag den, 26. Januar 2002, um 07:09, schrieb Everett W. Howe:

> Hello all,
>
> Ingo Reich asked about getting Francois Ladouceur's OzTeX plug-in
> for BBEdit to work.  I'm not sure what that plug-in does, but if
> all you want to do is to get OzTeX to typeset the BBEdit document
> you are working on, you can try this instead:
>
> Open Script Editor, and enter the following script:
>
>    tell application "BBEdit 6.1 for OS X"
>       set tf to the file of text window 1
>    end tell
>    tell application "Finder"
>       open tf using alias "PowerBook G4 HD:Applications:OzTeX 
> 5.0b7:OzTeX"
>    end tell
>
> (Of course, you should use your own path to OzTeX, and you should
> use the name of whatever version of BBEdit you use.)

This works perfectly! Actually, this is all I need. (At least it's 
sufficiently functional.)

>
> Press the "Check syntax" button to make sure you got the application
> names and paths right, and then save the script in the Scripts
> folder in the BBEdit Support folder.  Then, in BBEdit, give the
> script a keystroke equivalent, and you're set.
>
> (This hint was stolen from 
> http://www.mostrom.pp.se/info/bbedit/tips.html)
>
> I had been using TeXShop pretty consistently, with a few experiments
> with BBEdit/CMacTeX/Acrobat Reader, but my current favorite is
> BBEdit/OzTeX.  The text quality of OzTeX's dvi previewer doesn't
> match what you get from pdf viewers, but I can move around documents
> quickly, and the previewer remembers where I was looking.  When I
> have reached a good stopping point, I run pdflatex from the terminal
> and open the pdf file with Acrobat Reader.

If it were possible to write a similar script for the TeXShop-2.0a9 beta 
that, at least in principle, supports external editors, you wouldn't 
even have to launch the terminal application, but you could both OzTeX 
AND pdflatex your file from within BBEdit. Unfortunately simply changing 
pathes and/or application in the script you suggested won't do -- I 
tried. It seems to be one thing to simply change the application, this 
can be done with the script

tell application "TeXShop-beta"
	activate
end tell

but it is seemingly another to change the application to TeXShop and 
then typeset (or even compile) a document/project.

Thanks again to all of you who spent so much time to develop these cool 
TeX solutions and  who patiently help those ignorants like me.

Ingo


>
> Thanks to everyone who is developing TeX for OS X, by the way.  Y'all
> are making my life much better, and I appreciate it.
>
> -- Everett
>
> ________________________________________________________________________
> Everett Howe                          Center for Communications Research
> however at alumni.caltech.edu                           4320 Westerra Court
> http://alumni.caltech.edu/~however                  San Diego, CA  92121
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3387 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20020126/a8b08c01/attachment.bin>


More information about the macostex-archives mailing list