I'm trying to use the [typeset second]
option in a beamer frame as specified by the Beamer User Guide. When I compile with that option, I receive the error Undefined control sequence \end{frame}
I tried compiling the sample from the guide and received the same error. This issue has been reported occasionally but I haven't found a solution. Full code listing (copied directly from the guide):
\documentclass{beamer}
\usepackage{pgfpages}
\setbeameroption{second mode text on second screen}
\begin{document}
\begin{frame}[typeset second]
This text is shown on the left and on the right.
\only<second>{This text is only shown on the right.}
\only<second:0>{This text is only shown on the left.}
\end{frame}
\begin{frame}
This text is shown on the left. The right shows the same as for the
previous frame.
\end{frame}
\begin{frame}[typeset second]
\alt<second>{The \string\alt command is useful for second
mode. Let’s show the table of contents, here: \tableofcontents}
{Here comes some normal text for the first slide.}
\end{frame}
\end{document}