summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
index b9c922e157b..a000ba88eea 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
@@ -8,7 +8,7 @@
%
% See the file doc/licenses/LICENSE for more details.
-\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaselocalstructure.sty,v 4ac715c499d0 2013/09/04 07:27:00 joseph $
+\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaselocalstructure.sty,v 393f6dcff371 2014/09/10 07:50:17 joseph $
\mode
<all>
@@ -317,7 +317,19 @@
{
\AtBeginDocument{
\let\beamer@origdescription=\description
- \renewcommand{\description}[1][]{\beamer@origdescription}
+ % The description environment doesn't use either optional
+ % arg in article mode, so simply gobble them
+ \def\description{%
+ \@ifnextchar[%]
+ {\beamer@description@}
+ {\beamer@origdescription}%
+ }
+ \def\beamer@description@[#1]{%
+ \@ifnextchar[%]
+ {\beamer@description@@}
+ {\beamer@origdescription}%
+ }
+ \def\beamer@description@@[#1]{\beamer@origdescription}
}
}