diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty index 5c53394a234..4431e84d254 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty @@ -1,9 +1,13 @@ -\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasenavigation.sty,v 1.34 2005/06/01 13:05:09 tantau Exp $ - -% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>. +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. % -% This program can be redistributed and/or modified under the terms -% of the GNU Public License, version 2. +% See the file doc/licenses/LICENSE for more details. + +\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasenavigation.sty,v 1.36 2007/01/28 20:48:21 tantau Exp $ \mode<presentation> @@ -536,6 +540,7 @@ \def\beamer@nav@subsectionstyle#1{\beamer@toc@sprocess\beamer@nav@css\beamer@nav@oss\beamer@nav@ooss#1///} \beamer@nav@subsectionstyle{show} +\def\beamer@subsectionentry#1#2#3#4#5{}% no effect by default. \def\beamer@subsubsectionentry#1#2#3#4#5#6{}% no effect by default. \def\insertverticalnavigation#1{% @@ -562,20 +567,19 @@ {\usebeamertemplate{section in sidebar shaded}}% \fi}}}% \beamer@currentsubsection=0\relax\fi}% - \def\slideentry##1##2##3##4##5##6{% - \ifnum##6=\c@part% - \ifnum##2>\beamer@currentsubsection% - \beamer@currentsubsection=##2% + \def\slideentry##1##2##3##4##5##6{}% + \def\beamer@subsectionentry##1##2##3##4##5{% + \ifnum##1=\c@part% + \def\insertpartheadnumber{##1}% + \def\insertsectionheadnumber{##2}% + \def\insertsubsectionheadnumber{##3}% \def\insertsubsectionhead{##5}% - \def\insertsectionheadnumber{##1}% - \def\insertsubsectionheadnumber{##2}% - \def\insertpartheadnumber{##6}% - \beamer@tocifnothide{\ifnum\c@section=##1\ifnum\c@subsection=##2\beamer@nav@css\else\beamer@nav@oss\fi\else\beamer@nav@ooss\fi}% + \beamer@tocifnothide{\ifnum\c@section=##2\ifnum\c@subsection=##3\beamer@nav@css\else\beamer@nav@oss\fi\else\beamer@nav@ooss\fi}% {\hbox{{% \usebeamerfont{subsection in sidebar}\usebeamercolor[fg]{subsection in sidebar}% - \beamer@link(##4){% - \ifnum\c@section=##1% - \ifnum\c@subsection=##2% + \hyperlink{Navigation##4}{% + \ifnum\c@section=##2% + \ifnum\c@subsection=##3% \ifnum\c@subsubsection=0\relax% {\usebeamertemplate{subsection in sidebar}}% \else% @@ -588,7 +592,7 @@ {\usebeamertemplate{subsection in sidebar shaded}}% \fi}}}% }% - \fi\fi}% + \fi}% \def\beamer@subsubsectionentry##1##2##3##4##5##6{% \ifnum##1=\c@part% \def\insertpartheadnumber{##1}% @@ -615,9 +619,10 @@ \fi}}}% }% \fi}% - \beamer@currentsubsection=0\relax% + %\beamer@currentsubsection=0\relax% \dohead% - }} + }% +} \def\slideentry#1#2#3#4#5#6{% %section number, subsection number, slide number, first/last frame, page number, part number |