[OS X TeX] TeXShop Macro Editor Content entry of "cmd s", "ctrl tab" and "cmd t" ?
Herbert Schulz
herbs2 at mac.com
Wed Sep 14 08:08:29 EDT 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
More information about the MacOSX-TeX
mailing list