To make a slow LaTeX document compile faster, build less of it while you write: compile one chapter at a time and leave the figures out, then build the full document once at the end. Both tricks work in any LaTeX setup, and TexOwl has them as one-click compile modes.
Why is my LaTeX document slow to compile?
Large projects are slow for a few predictable reasons: many source files, heavy figures (big PNG or JPG photos, EPS files that need conversion, TikZ and pgfplots plots), a long bibliography, and several passes so that references and the table of contents settle. The figures are usually the biggest part.
Compiling on your own computer also removes a limit that causes trouble on Overleaf: its free plan stops compiles after 10 seconds (see the timeout guide).
How do I keep one accurate full build?
Keep one way to produce the complete PDF with every chapter and every figure. This is the build you check before you send, submit or print. The faster modes below are for writing only and must never replace it. In TexOwl, each compile mode builds into its own folder, so a quick preview never overwrites your full PDF.
How do I compile only one chapter?
Split the thesis into files and load them with \include{chapter1}. In the main file you can then add \includeonly{chapter1} to build just that chapter. The one-chapter guide shows the details and the catches.
In TexOwl, open the chapter file and choose Compile → Current part. TexOwl finds the parts from \include{...} and from \input{...} files in the main document.
How do I skip the figures?
Add the draft option, for example \documentclass[draft]{report} or \usepackage[draft]{graphicx}. Images become empty boxes of the same size, so the text and page breaks stay the same.
In TexOwl choose Compile → Draft compile. It also skips EPS conversion, so heavy plots and photos stop slowing each preview. Choose Current part · Draft graphics for the fastest preview with the least memory.
What else helps?
- Use latexmk. It reruns LaTeX or the bibliography tool only when needed. TexOwl compiles through latexmk.
- Pre-render heavy plots. Save a TikZ or pgfplots figure as a PDF once and include the PDF.
- Shrink huge images. A 20 MB photo printed at 8 cm wide does not need to be 20 MB.
- Recompile from scratch when LaTeX keeps showing an old error. TexOwl has a button that clears the build files.
Which mode should I use when?
| Situation | Mode |
|---|---|
| Writing one chapter | Current part |
| Checking text, equations, tables, references | Draft compile |
| Very large project, quick check | Current part + Draft graphics |
| Sending, submitting, printing | Full document |
More detail on each mode is on the features page and in how local compilation works. Questions? See the FAQ.
Get the four compile modes
Download TexOwl, free for Windows, macOS and Linux, and compile your thesis without a time limit.
Frequently asked questions
How do I make LaTeX compile faster?
Compile only the chapter you are editing, leave the figures out while you write (draft mode), and run the full document only when you need the final PDF. Using latexmk also avoids repeating passes that are not needed.
Does draft mode change my page layout?
No. In LaTeX's draft option each figure is replaced by an empty box of the same size, so pages break in the same places. TexOwl's Draft compile works the same way.