summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasemisc.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/beamerbasemisc.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/beamerbasemisc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasemisc.sty57
1 files changed, 29 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasemisc.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasemisc.sty
index 3e67f019ab0..63789b7ebf8 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasemisc.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasemisc.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,9 +8,11 @@
%
% See the file doc/licenses/LICENSE for more details.
-\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasemisc.sty,v 1.24 2007/01/28 20:48:21 tantau Exp $
+\ProvidesPackageRCS $Header: /home/vedran/bitbucket/beamer/base/beamerbasemisc.sty,v bff0a9294b45 2010/06/06 13:23:19 rivanvx $
+
+\mode
+<presentation>
-\mode<presentation>
% Maximum dead cycles
\maxdeadcycles=1000
@@ -22,7 +25,7 @@
\def\headcommand#1{\global\advance\beamer@totalheads by1\relax%
\expandafter\gdef\csname @@head\the\beamer@totalheads\endcsname{#1}}
-\def\dohead{\beamer@headcounter=0\loop\ifnum\beamer@headcounter<\beamer@totalheads%
+\def\dohead{\beamer@headcounter=0\relax\loop\ifnum\beamer@headcounter<\beamer@totalheads%
\advance\beamer@headcounter by1\relax%
\csname @@head\the\beamer@headcounter\endcsname\repeat}
@@ -38,7 +41,7 @@
\def\beamer@startpageofappendix{}
\def\inserttotalframenumber{1}
-\def\partentry#1#2{\beamer@sectioncount=0}
+\def\partentry#1#2{\beamer@sectioncount=0\relax}
\def\beamer@initsectionentry#1#2#3#4#5{\advance\beamer@sectioncount by1\relax%
\ifnum\beamer@sectionmax<\beamer@sectioncount\beamer@sectionmax=\beamer@sectioncount\fi}
\def\beamer@initslideentry#1#2#3#4#5#6{\ifnum\beamer@subsectionmax<#2\relax\beamer@subsectionmax=#2\fi}
@@ -121,26 +124,28 @@
\setlength\fboxrule{.4\p@}
-\newcommand\contentsname{Contents}
-\newcommand\listfigurename{List of Figures}
-\newcommand\listtablename{List of Tables}
-\newcommand\refname{References}
-\newcommand\bibname{Bibliography}
-\newcommand\indexname{Index}
-\newcommand\figurename{Figure}
-\newcommand\algorithmname{Algorithm}
-\newcommand\tablename{Table}
-\newcommand\partname{Part}
-\newcommand\chaptername{Chapter}
-\newcommand\appendixname{Appendix}
-\newcommand\abstractname{Abstract}
+\newcommand\contentsname{\translate{Contents}}
+\newcommand\listfigurename{\translate{List of Figures}}
+\newcommand\listtablename{\translate{List of Tables}}
+\newcommand\refname{\translate{References}}
+\newcommand\bibname{\translate{Bibliography}}
+\newcommand\indexname{\translate{Index}}
+\newcommand\figurename{\translate{Figure}}
+\newcommand\algorithmname{\translate{Algorithm}}
+\newcommand\tablename{\translate{Table}}
+\newcommand\partname{\translate{Part}}
+\newcommand\chaptername{\translate{Chapter}}
+\newcommand\appendixname{\translate{Appendix}}
+\newcommand\abstractname{\translate{Abstract}}
+% This is suboptimal; for full localization babel should be used.
\def\today{\ifcase\month\or
- January\or February\or March\or April\or May\or June\or
- July\or August\or September\or October\or November\or December\fi
+ \translate{January}\or \translate{February}\or \translate{March}\or
+ \translate{April}\or \translate{May}\or \translate{June}\or
+ \translate{July}\or \translate{August}\or \translate{September}\or
+ \translate{October}\or \translate{November}\or \translate{December}\fi
\space\number\day, \number\year}
\setlength\columnsep{10\p@}
\setlength\columnseprule{0\p@}
-\pagenumbering{arabic}
\onecolumn
\parindent0pt
@@ -206,13 +211,13 @@
{
\ifx\includegraphics\@undefined
\else
- \renewcommand<>\includegraphics[2][]{\only#3{\beameroriginal\includegraphics[#1]{#2}}\ignorespaces}
+ \renewcommand<>\includegraphics[2][]{\only#3{\beameroriginal\includegraphics[{#1}]{#2}}\ignorespaces}
\fi
\ifx\pgfuseimage\@undefined
\else
\renewcommand<>\pgfuseimage[1]{\only#2{\beameroriginal\pgfuseimage{#1}}\ignorespaces}
- \renewcommand<>\pgfimage[2][]{\only#3{\beameroriginal\pgfimage[#1]{#2}}\ignorespaces}
+ \renewcommand<>\pgfimage[2][]{\only#3{\beameroriginal\pgfimage[{#1}]{#2}}\ignorespaces}
\fi
}
@@ -243,8 +248,4 @@
}
}
-
-%%% Local Variables:
-%%% mode: latex
-%%% TeX-master: "~/texmf/tex/latex/beamer/examples/beamerexample1.tex"
-%%% End:
+