I'm in the process of editing chapter files of a book, and was wondering if there was a way to build a chapter file without building the entire book, so I can easily preview it. However, without a preamble, this produces errors when attempting to build, so this isn't easily doable. I could of course include a preamble, but I assume this would cause issues when building the book. I could make a separate "book" containing only the single chapter, but this seems hacky.
So what is the easiest way to build such a chapter file to view its pdf?
\includeis designed for,\includeeach chapter and use\includeonly{intro}when working onintro.tex– David Carlisle Jul 14 '17 at 20:07