My LaTeX makes me pagebreaks after each subsection because my subsections are in separate files. I use the command \\include{file} which adds a pagebreak after
\\include{file}
Thank you, Cambridge!
use \include instead of \input, and use the \includeonly command to select sections to process