From 9ec5a0dd78d3a039a20d046c083e33a1e52cb377 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 21 Feb 2018 23:34:07 +0000 Subject: beamer (21feb18) git-svn-id: svn://tug.org/texlive/trunk@46705 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty') diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty index 7c5d8cd356f..986fafea7e2 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty @@ -1,7 +1,7 @@ % Copyright 2003--2007 by Till Tantau % Copyright 2010 by Vedran Mileti\'c % Copyright 2012,2013,2015 by Vedran Mileti\'c, Joseph Wright -% Copyright 2017 by Joseph Wright +% Copyright 2017,2018 by Louis Stuart, Joseph Wright % % This file may be distributed and/or modified % @@ -371,13 +371,14 @@ \newif\ifbeamer@inappendix \newcommand<>\beamer@appendix{} +\def\beamer@resetappendix{\global\let\appendix\beamer@appendix} \newcommand<>\appendix{% \beamer@inappendixtrue% \only#1{\part{\appendixname}% \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}}}% - \global\let\appendix\beamer@appendix}% + \beamer@resetappendix}% } \def\insertappendixframenumber{\the\numexpr\inserttotalframenumber-\insertmainframenumber\relax} -- cgit v1.2.3