Code:
\documentclass[tikz]{standalone}
\usetikzlibrary{external}
\tikzexternalize
\begin{document}
\begin{tikzpicture}
\node[circle,draw] at (2, 3) {};
\end{tikzpicture}
\begin{tikzpicture}
\node[circle,draw] at (2, 3) {};
\end{tikzpicture}
\end{document}
Yields
! Missing } inserted.
Something is wrong with standalone when used with tikzexternalize. Can this be made to work?
standaloneproduces 1-out-for-1-in. But can't you just use two source files? Or useexternalizerather thanstandalone? – cfr Feb 18 '14 at 02:42standaloneas a package just as your main file does. – cfr Feb 18 '14 at 03:10externalizeand include the images back into a file for viewing. (But splitting is probably more flexible if the number of generated images might change.) – cfr Feb 18 '14 at 03:28tikzas option,standaloneproduces a pdf file with as much pages astikzpicture. You can use\includegraphics[page=#]{xxx}to include one of them. Better explained at http://tex.stackexchange.com/questions/29820/how-can-i-generate-just-pgf-tikz-images-not-placed-a-whole-page-or-slide/29875#29875 – Ignasi Feb 18 '14 at 08:05