Splitting the input
Divide and conquer—this could be our motto now. We shall figure out how to break down a document into several sub-documents. Thus, while we are writing, we will be able to manage a huge project consisting of many chapters in separate files.
Firstly, we shall separate settings and body text by swapping out the preamble. Secondly, we shall write chapters in separate files and include them afterwards.