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