summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-21 23:34:07 +0000
committerKarl Berry <karl@freefriends.org>2018-02-21 23:34:07 +0000
commit9ec5a0dd78d3a039a20d046c083e33a1e52cb377 (patch)
tree7f9f0e91867f9515c03563e92a0dfb7382fb361f /Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
parentc97246252f045d55b53d33ed13cb8ab54b22ce0b (diff)
beamer (21feb18)
git-svn-id: svn://tug.org/texlive/trunk@46705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty5
1 files changed, 3 insertions, 2 deletions
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}