Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How you can speedup LaTeX compilation speeds by a factor of 2x or 3x.

%&Thesis -jobname="Thesis"

% ^^This needs to be the 1st line of your Thesis.tex^^

%% Enable Binary Preamble Cache

%% Doc: http://www.ctan.org/pkg/mylatexformat

%% Usage: pdflatex -ini -synctex=1 -shell-escape -jobname="Thesis" "&pdflatex" mylatexformat.ltx Thesis.tex

\csname endofdump\endcsname

What follows here is the part that changes, ie. your chapters. All preceding "endofdump" will be compiled into a cache file.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: