[OS X TeX] using ITeXMac with external editor and preview

Jason Davies ucgajpd at ucl.ac.uk
Thu Feb 17 15:23:57 CET 2005


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
Centre for Interdisciplinary Studies
Centre for the Advancement of Learning and Teaching
University College London

<http://www.ucl.ac.uk/~ucgajpd/Academic/>
<http://www.ucl.ac.uk/calt/alpd/>
<http://www.evidencescience.org/>
<http://www.medicinaantiqua.org.uk/>
--------------------- 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