Suppose in my document (book), I have a Chapter


and I edit Chapter 1 only within the Chapter 1 tab

Afterwards I hit the green arrow to compile/run

Does the whole document get compiled or just that one file?

  • 1
    unrelated to texstudio you can add \includeonly{chapter_1} to the preamble of your document to just process chapter1 , but if the final result is showing the full document, the full document was processed, it can not splice in fragments of pdfs to an existing document. Jan 14, 2020 at 23:09

1 Answer 1


Yes the whole thing will get compiled which is slow.

You can include (in the top of your main tex file)


This will make it compile chapter 1 only.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .