My documents often contain "completely limited" frames of this form:
\begin{frame}<0>
Lorem ipsum dolor.
\end{frame}
Due to <0> at the end of the first line, frames like this do not appear in documents that I create using pdflatex or xelatex. But they still cause an increase in the framenumber counter, which leads to strange results. Here is an example:
\documentclass[xelatex]{beamer}
\begin{document}
\setbeamertemplate{footline}{\hfill\insertframenumber}
\begin{frame}<0>{Frame A}
\end{frame}
\begin{frame}{Frame B}
\end{frame}
\end{document}
When I process this document using xelatex, I get a PDF document containing one frame. The frame size in the foreground of the frame is 2. I would like it to be 1. I could manually reset the frame counter after each limited frame, but in large documents with many such frames, which is a problem. Is there a way to stop limited frames from increasing the counter?