summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-06 21:41:37 +0000
committerKarl Berry <karl@freefriends.org>2010-06-06 21:41:37 +0000
commit8cb1f8bb85c22a13ea39018c68cb89d47ff968c5 (patch)
tree709a6308eff7384575fad551a29bc603c210e614 /Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
parentd5df7052a33beffe86acc5a220f0e23d895e8901 (diff)
beamer 3.08 (6jun10)
git-svn-id: svn://tug.org/texlive/trunk@18777 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.sty42
1 files changed, 20 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
index 5a42ced00e0..510fbd85b85 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty
@@ -1,4 +1,5 @@
-% Copyright 2007 by Till Tantau
+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
%
% This file may be distributed and/or modified
%
@@ -7,11 +8,7 @@
%
% 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>
-
+\ProvidesPackageRCS $Header: /home/vedran/bitbucket/beamer/base/beamerbasesection.sty,v 6feac3ddebc1 2010/05/06 17:54:55 joseph $
\mode
<all>
@@ -20,6 +17,9 @@
\def\beamer@secstargobble*{\beamer@gobbleoptional}
}
+\mode
+<presentation>
+
%
% Lecture Definitions
@@ -154,7 +154,7 @@
%
% Section Definitions
%
-\def\sectionname{Section}
+\def\sectionname{\translate{Section}}
\newcounter{section}
\renewcommand\thesection{\@arabic\c@section}
\beamer@sectionstartpage=1\relax
@@ -163,8 +163,8 @@
\newcommand<>{\section}{\alt#1{\@ifnextchar[\beamer@section\beamer@@section}{\beamer@secgobble}}
\def\beamer@@section{\@ifnextchar*\beamer@@ssection\beamer@@@section}
-\long\def\beamer@@ssection*#1{\beamer@section[#1]{}}
-\long\def\beamer@@@section#1{\beamer@section[#1]{#1}}
+\long\def\beamer@@ssection*#1{\beamer@section[{#1}]{}}
+\long\def\beamer@@@section#1{\beamer@section[{#1}]{#1}}
\long\def\beamer@section[#1]#2{%
\beamer@savemode%
\mode<all>%
@@ -172,7 +172,7 @@
\refstepcounter{section}%
\beamer@ifempty{#2}%
{\long\def\secname{#1}}%
- {\advance\beamer@tocsectionnumber by 1\relax%
+ {\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}%
{\the\beamer@tocsectionnumber}}}%
{\let\\=\relax\xdef\sectionlink{{Navigation\the\c@page}{\noexpand\secname}}}%
@@ -187,7 +187,7 @@
\def\insertsection{\expandafter\hyperlink\sectionlink}%
\def\insertsubsection{}%
\def\insertsubsubsection{}%
- \def\insertsectionhead{#1}%
+ \def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}%
\def\insertsubsectionhead{}%
\def\insertsubsubsectionhead{}%
\def\lastsubsection{}%
@@ -199,6 +199,8 @@
\def\insertsection{}
\def\lastsubsection{}
+\def\insertsectionnumber{\@arabic\c@section}
+
\def\breakhere{\protect\beamer@breakhere}
\def\beamer@breakhere{}
@@ -235,9 +237,10 @@
\newcommand<>{\subsection}{\alt#1{\@ifnextchar[\beamer@subsection\beamer@@subsection}{\beamer@secgobble}}
\def\beamer@@subsection{\@ifnextchar*\beamer@@ssubsection\beamer@@@subsection}
-\long\def\beamer@@ssubsection*#1{%
- \beamer@ifempty{#1}{\beamer@untitledsubsection}{\beamer@subsection[#1]{}}}
-\def\beamer@@@subsection#1{\beamer@subsection[#1]{#1}}
+\long\def\beamer@@ssubsection*#1{\beamer@subsection[{#1}]{}}
+%\long\def\beamer@@ssubsection*#1{%
+% \beamer@ifempty{#1}{\beamer@untitledsubsection}{\beamer@subsection[{#1}]{}}}
+\def\beamer@@@subsection#1{\beamer@subsection[{#1}]{#1}}
\def\beamer@subsection[#1]#2{%
\beamer@savemode%
\mode<all>%
@@ -258,7 +261,7 @@
\edef\subsectionlink{{Navigation\the\c@page}{\noexpand\subsecname}}%
\def\insertsubsection{\expandafter\hyperlink\subsectionlink}%
\def\insertsubsubsection{}%
- \def\insertsubsectionhead{#1}%
+ \def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}%
\def\insertsubsubsectionhead{}%
\Hy@writebookmark{\the\c@subsection}{#2}{Outline\the\c@part.\the\c@section.\the\c@subsection.\the\c@page}{3}{toc}%
\hyper@anchorstart{Outline\the\c@part.\the\c@section.\the\c@subsection.\the\c@page}\hyper@anchorend%
@@ -302,8 +305,8 @@
\newcommand<>{\subsubsection}{\alt#1{\@ifnextchar[\beamer@subsubsection\beamer@@subsubsection}{\beamer@secgobble}}
\def\beamer@@subsubsection{\@ifnextchar*\beamer@@ssubsubsection\beamer@@@subsubsection}
-\long\def\beamer@@ssubsubsection*#1{\beamer@subsubsection[#1]{}}
-\def\beamer@@@subsubsection#1{\beamer@subsubsection[#1]{#1}}
+\long\def\beamer@@ssubsubsection*#1{\beamer@subsubsection[{#1}]{}}
+\def\beamer@@@subsubsection#1{\beamer@subsubsection[{#1}]{#1}}
\def\beamer@subsubsection[#1]#2{%
\beamer@savemode%
\mode<all>%
@@ -366,8 +369,3 @@
\mode
<all>
-
-%%% Local Variables:
-%%% mode: latex
-%%% TeX-master: "~/texmf/tex/latex/beamer/examples/beamerexample1.tex"
-%%% End: