diff options
author | Karl Berry <karl@freefriends.org> | 2012-11-15 00:19:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-11-15 00:19:15 +0000 |
commit | 4bb9dfaf3d22589ae47db564ee588c1690de9cdd (patch) | |
tree | 3378a3a34fd324f454174b69a7f2767dc4290060 /Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty | |
parent | fb9b612c3d1d6ac4d7201bf7a95ebe3fe8a844d1 (diff) |
beamer (14nov12)
git-svn-id: svn://tug.org/texlive/trunk@28262 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.sty | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty index 5c648a24c10..c7e00cdcb26 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: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasesection.sty,v 22ff49def670 2012/05/30 21:50:05 joseph $ +\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasesection.sty,v 0056eef6f17f 2012/11/11 21:00:02 joseph $ \mode <all> @@ -31,6 +31,17 @@ \newif\ifbeamer@inlecture \beamer@inlecturetrue +\newcommand{\beamer@if@in@clist@TF}[2]{% + \def\beamer@if@in@clist@aux##1,#2,{}% + \expandafter\expandafter\expandafter\ifx + \expandafter\expandafter\expandafter\@nil + \expandafter\beamer@if@in@clist@aux\expandafter,#1,{}{},#2,\@nil + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi +} + \newcounter{lecture} \renewcommand\thelecture{\@arabic\c@lecture} \let\insertlecturenumber=\thelecture @@ -44,11 +55,10 @@ \def\beamer@shortlecturename{#1} \ifx\beamer@onlylecture\@empty \else - \ifx\beamer@currentlecturelabel\beamer@onlylecture - \beamer@inlecturetrue - \else - \beamer@inlecturefalse - \fi + \expandafter\beamer@if@in@clist@TF\expandafter\beamer@onlylecture + \beamer@currentlecturelabel + {\beamer@inlecturetrue} + {\beamer@inlecturefalse} \fi \beamer@atbeginlecture \beamer@resumemode |