From dadeda275fb8a3885b294be5babc0ed298377ee9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 7 Apr 2016 20:50:16 +0000 Subject: appendixnumberbeamer (7apr16) git-svn-id: svn://tug.org/texlive/trunk@40322 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/appendixnumberbeamer/appendixnumberbeamer.sty | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/appendixnumberbeamer') diff --git a/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty b/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty index ec6b0066927..454ecd1455d 100644 --- a/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty +++ b/Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty @@ -1,7 +1,7 @@ % vim:ft=plaintex: % -% Written and (C) by Jérôme Lelong -% 2007 - 2012 +% Written and (C) by Jérôme Lelong +% 2007 - 2016 % % This program is free software; you can redistribute it and/or modify it % under the terms of the GNU General Public License as published by the @@ -34,20 +34,20 @@ \let\appendixorig\appendix % Redefine the \appendix command: -% - it resets the framenumber counter -% - freezes the total framenumber for this first part of the document +% - Reset the framenumber counter +% - Freeze the total framenumber for this first part of the document \def\appendix{ - \edef\mainend{\theframenumber} + \xdef\mainend{\theframenumber} \immediate\write\@auxout{\string\global\string\@namedef{mainendframenumber}{\mainend}} \appendixorig - \def\inserttotalframenumber{\appendixtotalframenumber}% + \gdef\inserttotalframenumber{\appendixtotalframenumber}% \setcounter{framenumber}{0} } -% To be called at the end of document to fix the total framenumber in the +% To be called at the end of the document to fix the total framenumber in the % main document and in the appendix. \def\pageatend{ - \edef\appendixend{\theframenumber} + \xdef\appendixend{\theframenumber} \ifnum\mainend>0% \immediate\write\@auxout{\string\global\string\@namedef{appendixtotalframenumber}{\appendixend}}% \immediate\write\@auxout{\string\global\string\@namedef{inserttotalframenumber}{\mainend}}% -- cgit v1.2.3