[OS X TeX] Compiling the master when hitting the compile button of the child?
Herbert Schulz
herbs at wideopenwest.com
Sun Mar 25 17:52:43 CEST 2018
> On Mar 25, 2018, at 10:43 AM, Gerben Wierda <gerben.wierda at rna.nl> wrote:
>
> Gentle people,
>
> If I have a document a.tex which includes a document b.tex with \include{b} and my main editing is in b.tex, I would like to inform TeXShop that when I hit the compile button in the b.tex edit window, it should instead compile a.tex
>
> Constant switching between the buttons is a bit of a nuisance. A bit, but it would be nice if this was possible.
>
> Is this possible?
>
> Yours,
>
> G
That's exactly what the TeXShop directive
% !TEX root = path/to/root/file
,where path/to/root/file is the relative or full path from the included file to the root file, is for.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
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: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list