When running pdflatex more than once successively, is it possible to:
• Compile your preamble packages
• Snapshot this moment in compilation
• Continue running through the rest of the pdflatex compilation
• Start at the next compilation of pdflatex BUT from the moment of the snapshot.
It seems logical efficient since you're using the exact same packages in each run after the first.
mylatex.ltx
ormylatexformat
available in texlive, miktex from ctan. In most cases reading the preamble isn't a large proportion of the processing time so saving it in a format doesn't save so much time, but it can be useful sometimesmyfoo.sty
included as\usepfackage{myfoo}
then you could use any external tool eg make or a simple shell file date check and re-make the custom format if the source is newer. Never actually done that but that's just usual coding stuff. In practice I'd never needed to do this for a document preamble that wasn't very stable.