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

Herbert Schulz via MacOSX-TeX macosx-tex at email.esm.psu.edu
Thu Sep 15 14:11:50 CEST 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

----------- 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
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.