<div dir="ltr"><div>Hi,  </div><div>Thanks Yusuke and Herb for your quick responses.</div><div><br></div><div>Putting !TEX root=main.tex<b> <u>worked first time</u></b>, but subsequently mostly not.</div><div>Even after shutting down TeXShop and restart.</div><div>All files share the same directory so an explicit path wasn't needed. </div><div>(I take it the "%" is not to be included).</div><div><br></div><div>I inserted !TEX root=main.tex only in one \include file at a time, nowhere else.</div><div>So I am puzzled why it worked only sporadically.</div><div><br></div><div>The console reads;</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)</div><div> restricte</div><div>./KEPNEWT.tex:2: LaTeX Error: \CHST undefined.   [Note: \CHST <b>is</b> defined in therein file]</div><div><br></div><div>See the LaTeX manual or LaTeX Companion for explanation.</div><div>Type  H <return>  for immediate help.</div><div> ...                                              </div><div>                                                  </div><div>l.2 \renewcommand\CHST</div><div>                      {\cb \textsc{Astronomia Nova@@}} %\textsc{Ellipses et ...</div><div><br></div><div>? d \write18 enabled.</div><div>entering extended mode</div><div>(./KEPNEWT.tex</div><div>LaTeX2e <2016/03/31></div><div>Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.</div><div><br></div><div>./KEPNEWT.tex:1: LaTeX Error: Missing \begin{document}.</div><div><br></div><div>See the LaTeX manual or LaTeX Companion for explanation.</div><div>Type  H <return>  for immediate help.</div><div> ...                                              </div><div>                                                  </div><div>l.1  !</div><div>      TEX root = RFIR2nd.tex.</div><div>? </div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><br></div></blockquote><div><br></div><div>Any further advice ?</div><div><br></div><div>Best regards,</div><div><br></div><div>Brian Coleman</div><div> </div></div>