I am working on a big document and I am using the \include command to put chapters one after the other. On the internet I came to know about the existence of the \endinput command. However I do not understand how to use it. My questions:
If I have a LaTeX chapter file named
chapter1.tex, should I place the\endinputcommand on the last line in the filechapter1.tex?If yes for Question 1, then should I do the same for every other chapters that I have?
I have never used \endinput before and everything has worked fine so far.
