I have some slides with a lot of overlays.
While still working on my slides (so to speak in "draft mode"), I would like to collapse them into a single frame; only when compiling the final version I'd like them to expand to overlays.
I can do this on a single frame by appending an overlay specification:
\begin{frame}<1000>
Now what I'd like to do is this:
\newif\ifDraft\Drafttrue
\begin{frame}\ifDraft<1000>\fi
but this does not work (and I didn't expect it to work, based on my understanding of LaTeX evaluation of parameters and overlays).
I don't want this for all overlays (I already use "handout" mode). Rather I want to be able to compress the expensive overlays (lots of images) with a simple toggle, while not hiding the frame completely (it would of course be easy to just wrap the entire frame in \ifDraft
or substitute it with a dummy frame). So it's like selectively switching to handout mode for a few frames only (those that really slow down the build).