% Copyright 2003--2007 by Till Tantau% Copyright 2010 by Vedran Mileti\'c%% This file may be distributed and/or modified%% 1. under the LaTeX Project Public License and/or% 2. under the GNU Public License.%% See the file doc/licenses/LICENSE for more details.%% version 1.71 bugfix for \pgfpagescurrentpagewillbelogicalpage (hv)%%\ProvidesPackageRCS $Header$
\mode<presentation>\newif\ifbeamer@twoscreenstext\newif\ifbeamer@dosecondmode\defbeameroption{previousslideonsecondscreen}[right]%{\pgfpagesuselayout{twoscreenswithlaggingsecond}[second #1]\beamer@twoscreenstexttrue\nofiles}\defbeameroption{secondmodetextonsecondscreen}[right]%{\pgfpagesuselayout{twoscreenswithoptionalsecond}[second #1]\beamer@twoscreenstexttrue}\defbeameroption{alwaystypesetsecondmode}[true]%{\def\beamer@defaultdosecondmode{#1}}\def\beamer@defaultdosecondmode{false}\long\def\beamer@dosecondscreennow#1{% called from \beamer@doseveralframes\ifbeamer@dosecondmode%{%\clearpage%\def\beamer@currentmode{second}\def\beamer@doifnotinframe{}%\def\beamer@doifinframe{\begin{beamer@frameslide}% #1%\end{beamer@frameslide}%\pgfpagescurrentpagewillbelogicalpage{2}%\clearpage%}%{\beamer@masterdecode{\beamer@whichframes}}%\beamer@donow%}%\fi%}\mode<all>