[OS X TeX] MacOSX-TeX Digest, Vol 179, Issue 4

Herbert Schulz herbs2 at mac.com
Thu Sep 15 08:11:50 EDT 2022

> On Sep 15, 2022, at 4:11 AM, Brian Coleman <brian.coleman.velchron at gmail.com> wrote:
> (I take it the "%" is not to be included)


You must have the % since that line is read by TeXShop and should be a comment as seen by the typesetting engine. If the root file is called mybook.tex and it has \include{chapter1} with chapter1.tex in the same folder as mybook.tex then chapter1.tex should have the line

% !TEX root = mybook.tex

(with the %) as the first line of the file.

Good Luck,

Herb Schulz
herbs2 at mac.com

More information about the MacOSX-TeX mailing list