diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty index 724bdb7a36e..7de86636844 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaseframe.sty @@ -71,6 +71,8 @@ \@ifundefined{thispdfpagelabel}{}{% \thispdfpagelabel{\insertframenumber}}% \xdef\beamer@frameendpage{\the\c@page}% every time + \xdef\beamer@slidenumber{\the\numexpr\c@page-\beamer@framestartpage+1\relax}% + \xdef\beamer@overlaynumber{\the\beamer@slideinframe}% \beamer@setuplinks% \beamer@displaybreak% \global\setbox\beamer@zoombox=\box\voidb@x% @@ -664,7 +666,8 @@ \long\def\beamer@donoframe{% \setbox\beamer@tempbox\vbox\bgroup% \beamer@inframetrue% - \let\frame=\framelatex + \let\frame=\framelatex% + \def\@parmoderr{\let\@currbox\@tempboxa}% A trick here to gobble floats \usebeamertemplate{frame begin}% \bgroup\aftergroup\beamer@endframe% \beamer@article@startframe}% @@ -710,6 +713,8 @@ { \newcounter{framenumber} \def\insertframenumber{\@arabic\c@framenumber} + \def\insertslidenumber{\beamer@slidenumber} + \def\insertoverlaynumber{\beamer@overlaynumber} } |