summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasetoc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasetoc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasetoc.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasetoc.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasetoc.sty
index 3c3b2b1a450..548f577b1a0 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasetoc.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasetoc.sty
@@ -8,7 +8,7 @@
%
% See the file doc/licenses/LICENSE for more details.
-\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasetoc.sty,v 5ed0f4010e8a 2012/10/02 06:08:21 joseph $
+\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasetoc.sty,v 0fdf5bc43be8 2013/05/23 07:10:57 joseph $
\mode
<presentation>
@@ -114,7 +114,11 @@
\expandafter\only\beamer@tocsections{\gdef\beamer@todo{%
\beamer@tempcount=#5\relax%
\advance\beamer@tempcount by\beamer@sectionadjust%
- \edef\inserttocsectionnumber{\the\beamer@tempcount}%
+ \ifnum\beamer@tempcount>0
+ \edef\inserttocsectionnumber{\the\beamer@tempcount}%
+ \else
+ \def\inserttocsectionnumber{}%
+ \fi%
\def\inserttocsection{\hyperlink{Navigation#3}{#2}}%
\beamer@tocifnothide{\ifnum\c@section=#1\beamer@toc@cs\else\beamer@toc@os\fi}%
{
@@ -174,7 +178,7 @@
{
\beamer@saveanother%
\gdef\beamer@todo{}%
- \beamer@slideinframe=#2\relax%
+ \beamer@slideinframe=#1\relax%
\expandafter\only\beamer@tocsections{\gdef\beamer@todo{%
\ifbeamer@pausesubsections\pause\fi%
\beamer@tempcount=#7%