For larger beamer presentation I have a bunch of (TikZ) animations (see here for a little context).
To speed up compilation, I would like to get some help from \usetikzlibrary{external} in my preamble.
The problem now is that I also have quite large movies (from rotating samples, the presentation is on Microtomography), which I load via \animategraphics[every=\everyframe]{25}{frame}{000}{500}
(I have defined a variable \everyframe which helps speeding up the compilation of these movies for preview purposes).
These movies are aligned on the center of the frame by encapsulating them in a centered node like so
\begin{frame}{Visualization}
\begin{tikzpicture}[remember picture,overlay]%
\node at (current page.center){%
\animategraphics[autoplay,palindrome,width=\paperwidth,every=\everyframe]{25}{./movies/scan/visualization/lung}{000}{473}%
};%
\end{tikzpicture}%
\end{frame}
Now it seems to me that using \usetikzlibrary{external} and aligning the movies to the current page.center with TikZ are mutually exclusive.
If I externalize the animations, then the movies are not aligned on the center of the page.
If I don't externalize the anmimations, compiling the document takes too long to do often.
Is there a way of both having the cake and eating it, e.g. externalizing the animations and aligning the movies on the page center?
I've seen this question and answer here which deals with needed number of compilations, but I think I cannot have the animations in their separate PDF files, since they are PNG frames which get loaded with \animagegraphics.
This also makes it hard to provide a good MWE
BTW1: I am aware that all this is just cosmetics, a final run before standing in front of the students will take care of all this. Nonetheless I'd really like to have a nice preview of my presenation with minimized compilation time.
BTW2: The current state of the presentation can be found here in its GitHub repository.
draft, when loading theanimatepackage. – AlexG Nov 14 '19 at 11:16