3 ms·
Same for me, but because I had a lot of TikZ images and pgfplots, I made it so that I could compile each chapter individually to reduce the compile time during
by majewsky 8y ago
Same for me, but because I had a lot of TikZ images and pgfplots, I made it so that I could compile each chapter individually to reduce the compile time during editing. Basically, each chapter file would look like:
\ifx\ispreambleloaded%
\relax%
\else%
\def\isstandalone{}%
\input{preamble}%
\fi
% ... content ...
\ifx\isstandalone\end{document}\fi%
and the preamble.tex would look like:
\documentclass{scrbook}
% ... all the other stuff that goes in the preamble ...
\begin{document}
\def\ispreambleloaded{}%
(Note: Recounting this all from memory, so I may have gotten some stuff wrong.)