I'm writing a book with several chapters, and I've split every chapter to separate files. In my preamble, I have this:
\include{chap1}
\include{chap2}
...
File chap1.tex:
\chapter{Chapter text - Number 1}
Text text text
and similar for chap2.tex (and all other chapter files). This works as expected.
However, I recently thought that instead of having \chapter{} in the chapter files, I will move these to the preamble and just keep the substance in the chapter files. Like this:
\chapter{Chapter text - Number 1}
\include{chap1}
\chapter{Number 2}
\include{chap2}
and so on. However, the result of this was not as expected. I get a chapter heading (expected), but the rest of the page is completely blank. I have to turn page to get to the chapter contents.
Expected results was exactly the same as if I had \chapter{} inside the chapter files.
Why does the blank page happen if I split \chapter{} and the chapter contents?
\include{}by\input{}.– Sigur Feb 23 '19 at 18:19texdef -t latex \includewe see that it calls\@include, which starts with\clearpage. This explains the result you observed. – Sigur Feb 23 '19 at 18:23