[OS X TeX] TexShop Applescript question

Adam M. Goldstein adam.goldstein at jhu.edu
Mon Dec 18 17:18:33 EST 2006

On Dec 18, 2006, at 3:44 PM, Chris Goedde wrote:

> On Dec 18, 2006, at 2:21 PM, Jon Hanson wrote:
>> Greetings,
>> I am trying to write a little macro that will typeset a file that  
>> is not the frontmost window in TeXShop.  The situation is this: I  
>> am writing in one file (a chapter, which is just the body of the  
>> source) and want to typeset a second file (the main document,  
>> which contains commands to input the various chapters) in order to  
>> refresh the pdf.  I often have many source windows open so  
>> switching windows can get cumbersome.
> If I understand your request correctly, you don't need applescript  
> to do this. Just pick "Set Project Root" from the file menu and set  
> the project root file to be your master file. Then when you tex  
> your chapter file, TeXShop will tex the master file instead.

Check out "set project root" in the "Advanced help" section of  
TeXshop's help.

Dr. Adam M. Goldstein
adam.goldstein at jhu.edu

------------------------- 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 mailing list