[OS X TeX] TeXShop Macro Editor Content entry of "cmd s", "ctrl tab" and "cmd t" ?

Herbert Schulz via MacOSX-TeX macosx-tex at email.esm.psu.edu
Wed Sep 14 14:08:29 CEST 2022



> On Sep 14, 2022, at 5:00 AM, Brian Coleman <brian.coleman.velchron at gmail.com> wrote:
> 
> Hi,
> My book tex file contains several \include chapters. 
> After editing a chapter tex file, in order to typeset, I must type "cmd s" to save the edit, then type "ctrl tab" to change focus to the book tex file, and finally type "cmd t" to typeset, or do 3 mouse clicks.
> 
> I would like to have a macro  to manage all three steps with one key stroke such as "cmd §".
> 
> Is there a way to enter "cmd s", "ctrl tab" and "cmd t" into the Macro Editor content window to achieve this?
> 
> I am not knowledgeable about AppleScript.
> 
> Any help much appreciated.
> 
> Brian Coleman

Howdy,

See section 2.4 of Help->TeXShop Tips and Tricks for information about the the TeXShop `root' directive,

% !TEX root = path/to/root

to be placed at the top of include files. Then simply typesetting will typeset the root file even though you're editing that \include file. In addition you can Cmd-Click in the \include file and go to it's contents in the root file pdf preview.

Good Luck,

Herb Schulz
herbs2 at mac.com


----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list.