Is there a way to avoid compiling a piece of TiKz code
\begin{tikzpicture} .....
a heavy job here that takes 30 seconds to process
\end{tikzpicture}
so that, if we do not make changes on the "tikzpicture" it will not re-process it?
If for example I comment the code it will not process but then, no picture.
As an example, the package "Asymptote" let you use "latexmk" which checks if the figure was processed and not changed. Then if no changes, it will not re-process it again.
Of course, this would imply at least an auxiliary file but I believe it would be small.
Please do not include in your answer things like "save the picture in PDF", and then "include" it with "\includegraphics", or anything like that. I like to write documents "pdf/gif/jpeg/png..." free. This defeats the purpose of using TiKz. I want all my figures to be Tikz reproducible. Of course, photographs, images, and other files need to be "included" externally. ...
tikzfigures? There is an externalization library specifically for the purpose of reducing compilation time. – Count Zero Nov 05 '15 at 17:16l.561 ...ne[width=0.9\textwidth]{Figures/geodesic} % without .tex extension ! ==> Fatal error occurred, no output PDF file produced! Transcript written on input.log. Now, if I use "lualatex" the error dissapears but then another error appears on the "Asymptotic" library. So I am forced to use "pdflatex" or "latexmk" but none of them work with "standalone".
– Herman Jaramillo Nov 05 '15 at 19:15standaloneclass has no conflicts withpdflatex. The error you get is a memory problem, meaning that the data you are trying to compile exceeds the capacity allocated by Tex. – Nicolas Nov 05 '15 at 22:41standaloneusually does more jobs thanarticle. So... yes! you are the lucky guy who (barely) steps on the limit of TeX. Try to increase the memory size manually. It is not hard to Google it. – Symbol 1 Nov 06 '15 at 07:39