Treat frames generated by \againframe as "real" frames
This commit is contained in:
@@ -88,13 +88,20 @@
|
|||||||
\counterwithin*{framesinsection}{section}
|
\counterwithin*{framesinsection}{section}
|
||||||
\counterwithin*{framesinsubsection}{subsection}
|
\counterwithin*{framesinsubsection}{subsection}
|
||||||
|
|
||||||
\BeforeBeginEnvironment{frame}{
|
\newcommand{\stepframe}{
|
||||||
\ifbeamer@noframenumbering\else%
|
\ifbeamer@noframenumbering\else%
|
||||||
\stepcounter{framesinsection}
|
\stepcounter{framesinsection}
|
||||||
\stepcounter{framesinsubsection}
|
\stepcounter{framesinsubsection}
|
||||||
\fi%
|
\fi%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\BeforeBeginEnvironment{frame}{
|
||||||
|
\stepframe
|
||||||
|
}
|
||||||
|
\pretocmd{\againframe}{
|
||||||
|
\stepframe
|
||||||
|
}{}{}
|
||||||
|
|
||||||
\newcommand{\refreshcountsinaux}{
|
\newcommand{\refreshcountsinaux}{
|
||||||
\immediate\write\@auxout{\global\noexpand\@namedef{s@totalsubsectionframes-\arabic{section}-\arabic{subsection}}{\theframesinsubsection}}
|
\immediate\write\@auxout{\global\noexpand\@namedef{s@totalsubsectionframes-\arabic{section}-\arabic{subsection}}{\theframesinsubsection}}
|
||||||
\immediate\write\@auxout{\global\noexpand\@namedef{s@totalsectionframes-\arabic{section}}{\theframesinsection}}
|
\immediate\write\@auxout{\global\noexpand\@namedef{s@totalsectionframes-\arabic{section}}{\theframesinsection}}
|
||||||
|
|||||||
Reference in New Issue
Block a user