diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-07 20:50:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-07 20:50:16 +0000 |
commit | dadeda275fb8a3885b294be5babc0ed298377ee9 (patch) | |
tree | 0f062f776979fcc1711b8bade337fa9f7f8f52b2 /Master/texmf-dist/tex/latex/appendixnumberbeamer | |
parent | 027a3a27a8e93a75018d1669f09d878638ef6601 (diff) |
appendixnumberbeamer (7apr16)
git-svn-id: svn://tug.org/texlive/trunk@40322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/appendixnumberbeamer')
-rw-r--r-- | Master/texmf-dist/tex/latex/appendixnumberbeamer/appendixnumberbeamer.sty | 16 |
1 files changed, 8 insertions, 8 deletions
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 <jerome.lelong@gmail.com> -% 2007 - 2012 +% Written and (C) by Jérôme Lelong <jerome.lelong@gmail.com> +% 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}}% |