summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty23
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
index 41193801eda..5a42ced00e0 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
@@ -1,9 +1,14 @@
-\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasesection.sty,v 1.18 2005/04/20 09:14:53 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/beamerbasesection.sty,v 1.21 2007/01/28 20:48:21 tantau Exp $
+
\mode<presentation>
@@ -69,8 +74,7 @@
\mode
<article>
{
- % no effect
- \newcommand\lecture[3][]{}
+ \newcommand\lecture[3][]{\def\insertlecture{#2}\def\insertshortlecture{#1}}
}
@@ -246,7 +250,10 @@
\addtocontents{toc}{\protect\beamer@subsectionintoc{\the\c@section}{\the\c@subsection}{#2}{\the\c@page}{\the\c@part}{\the\beamer@tocsectionnumber}}%
}%
\beamer@tempcount=\c@page\advance\beamer@tempcount by -1%
- \addtocontents{nav}{\protect\headcommand{\protect\beamer@subsectionpages{\the\beamer@subsectionstartpage}{\the\beamer@tempcount}}}%
+ \addtocontents{nav}{%
+ \protect\headcommand{\protect\beamer@subsectionentry{\the\c@part}{\the\c@section}{\the\c@subsection}{\the\c@page}{\lastsubsection}}%
+ \protect\headcommand{\protect\beamer@subsectionpages{\the\beamer@subsectionstartpage}{\the\beamer@tempcount}}%
+ }%
\beamer@subsectionstartpage=\c@page%
\edef\subsectionlink{{Navigation\the\c@page}{\noexpand\subsecname}}%
\def\insertsubsection{\expandafter\hyperlink\subsectionlink}%