I have a beamer presentation that shows a lot of graphs (in the sense
of graph theory) and it takes a lot to compile. I think that the
standalone
package might help me but I cannot see how. Let us say
this is my main document (I'm using Emacs, and an updated vanilla TeX
Live 2011 in Ubuntu 11.10):
\documentclass{beamer}
\usepackage[mode=buildnew]{standalone}
\begin{document}
\begin{frame}
%\includestandalone{simpleframe}
\input{simpleframe}
\end{frame}
\end{document}
%%% Local Variables:
%%% LaTeX-command: "latex -shell-escape"
%%% End:
and this is the file simpleframe.tex:
\documentclass[beamer]{standalone}
\begin{document}
\begin{standaloneframe}
\only<1>{One}
\only<2>{Two}
\end{standaloneframe}
\end{document}
Then:
- compiling simpleframe.tex is OK
- compiling the main file is OK as it is
- compiling the main file with
\includestandalone
only shows the first overlay, and with overfull boxes.
I would like the advantages of [mode=buildnew]
, and, isn't true that
for that I need to use \includestandalone
? How do I do that?
\usepackage[mode=buildnew,group=false]{standalone}
in the outer document fix it?group=false
that "Note that this does not effects the\includestandalone
macro which always will add a group."-shell-escape
enabled. Regardless, I know I had a two-page PDF when I built the outer document, or I was hallucinating.