diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty index d46c503218b..5218a198169 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty @@ -8,7 +8,7 @@ % % See the file doc/licenses/LICENSE for more details. -\ProvidesPackageRCS $Header: /home/vedranm/bitbucket/beamer/base/beamerbasesection.sty,v 717e481ca47a 2010/06/12 11:33:01 rivanvx $ +\ProvidesPackageRCS $Header: /home/vedranm/bitbucket/beamer/base/beamerbasesection.sty,v e0d9401bb743 2010/06/17 10:06:51 rivanvx $ \mode <all> @@ -171,9 +171,11 @@ \ifbeamer@inlecture \refstepcounter{section}% \beamer@ifempty{#2}% - {\long\def\secname{#1}}% + {\long\def\secname{#1}\long\def\lastsection{#1}}% {\global\advance\beamer@tocsectionnumber by 1\relax% - \long\def\secname{#2}\addtocontents{toc}{\protect\beamer@sectionintoc{\the\c@section}{#2}{\the\c@page}{\the\c@part}% + \long\def\secname{#2}% + \long\def\lastsection{#1}% + \addtocontents{toc}{\protect\beamer@sectionintoc{\the\c@section}{#2}{\the\c@page}{\the\c@part}% {\the\beamer@tocsectionnumber}}}% {\let\\=\relax\xdef\sectionlink{{Navigation\the\c@page}{\noexpand\secname}}}% \beamer@tempcount=\c@page\advance\beamer@tempcount by -1% |