Following up on Using beamer tools in tikz, without creating slides:
The combination of standalone and beamer via preview option would be great if it did work, but even this simple example (from standalone manual) does produce just a one-page PDF, instead of the two pages I'd expect.
\documentclass[beamer,preview]{standalone}
\begin{document}
\begin{standaloneframe}[]
\only<1>{ One }
\only<2>{ Two }
\end{standaloneframe}
\end{document}
Without preview, it delivers the expected two pages, but non-cropped, of course.
And crop instead of preview results in ! Improper \prevdepth. \newpage ...everypar {}\fi \par \ifdim \prevdepth as reported in other questions.
This would be really nice to get working reliably.
preview=false,crop=false,varwidth=falseif you use the beamer option. They simply do not work with the complicated beamer frames. – Ulrike Fischer Jan 17 '24 at 16:27