diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty index 9193f5ca45d..b28b9ea853f 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty @@ -372,13 +372,19 @@ \newcommand<>\beamer@appendix{} \def\beamer@resetappendix{\global\let\appendix\beamer@appendix} -\newcommand<>\appendix{% - \beamer@inappendixtrue% - \only#1{\part{\appendixname}% +\def\beamer@appendixwrite{% \immediate\write\@auxout{\string\@writefile{nav}% {\noexpand\headcommand{\noexpand\gdef\noexpand\insertmainframenumber{\the\c@framenumber}}}}% \addtocontents{nav}{\protect\headcommand{\protect\beamer@appendixpages{\the\c@page}}}% - \beamer@resetappendix}% +} + +\newcommand<>\appendix{% + \beamer@inappendixtrue% + \only#1{% + \part{\appendixname}% + \beamer@appendixwrite% + \beamer@resetappendix% + }% } \def\insertappendixframenumber{\the\numexpr\inserttotalframenumber-\insertmainframenumber\relax} |