I understand that LaTeX cannot parallel process a whole document because of the layout algorithm which is intrinsiquely linear.
However, in my understanding, the overlay specifications of successive slides within each frame in a beamer class are just expanded into repeated, successive pages in a .pdf.
Is the compiling of various slides in one frame a beamer document parallelizable? If yes, how to enjoy it?
For instance, if I have to insert:
\begin{frame}
\only<3-> {heavy stuff} % e.g. graphics, loads of tikz, video, etc..
\foreach \i in {4,...,23} {
\only<\i->{light stuff \i}
}
\end{frame}
then the heavy stuff operation will be performed twice if the frame lasts on 5 slides, and 20 times linearly if the frame lasts on 23 slides.. so it will take forever to compile.. is this avoidable?
{heavy stuff}in a savebox and the copy it in the slide. – Rmano Apr 05 '16 at 12:29externaland adapting my whole document to it has not been possible before I had to compile a definitive version. And I won't get back to it before I am done with my current job which will now concerns python matters (see you on SO! ;). So let the suspense stay on about this :) In my opinion, regardless of whether or notexternalwill help me compile faster, fudamental questionning about LaTeX parallelism opportunities for slides within beamer frames is still open. – iago-lito Apr 12 '16 at 15:44\def\foo{foo}and then in the frame foreach loop\only<\i->{\foo\xdef\foo{baz\foo}}– Andrew Swann May 13 '20 at 14:29