Chapterwise compilation for large LaTeX documents.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore Initial commit Oct 14, 2013
LICENSE Initial commit Oct 14, 2013 syntax fix Oct 14, 2013 Version 1 Oct 14, 2013


Compiling large LaTeX documents can take quite some time. Typically they are organized into one master.tex file that \includes indivdual chapters or sections. Typically one only wants to see changes in the chapter one is currently editing, without having to recompile everything.

Based on this tex.stackexchange answer this Python script provides chapterwise compilation, without having to add metainformation to your TeX files.

It looks at the master.tex file to find \included files and extract the filenames. You can either use the file names (without .tex) or the number of the chapter to specify which chapters to compile. It provides a --fast mode that also adds draftmode to graphicx and hyperref.

Run it with -h to get more usage detailed information.