\ProvidesPackage{beamerbasecompatibility}[2004/01/10 ver 1.20] \NeedsTeXFormat{LaTeX2e}[1995/12/01] % Copyright 2003 by Till Tantau . % % This program can be redistributed and/or modified under the terms % of the GNU Public License, version 2. \mode % % % Hyperlink fix for problem with empty test in pdfmark.def % % \let\beamer@orighyperlink\hyperlink \def\hyperlink#1#2{\beamer@orighyperlink{#1}{\relax#2}} % Hyperlinks must be suspended until document starts - they are used % inside \usetemplate commands before the beginning of the document, % but there we do not want them to have an effect. \let\beamer@suspendedhyperlink\hyperlink \let\beamer@suspendedAcrobatmenu\Acrobatmenu \def\hyperlink#1#2{#2} \def\Acrobatmenu#1#2{#2} \providecommand\hyper@pagetransition{} \providecommand\hyper@pageduration{} \providecommand\hyper@pagehidden{} \AtBeginDocument{% \ifbeamer@notesnormals \let\hyperlink\beamer@suspendedhyperlink \let\Acrobatmenu\beamer@suspendedAcrobatmenu \fi% } \mode { % Things to be done at the beginning of the document \def\beamer@lastminutepatches{} \def\beamer@firstminutepatches{} } % % Fixes right before the start of the document. % \let\beamer@origdocument\document \def\document{% \beamer@firstminutepatches% \endgroup% % \recalculatefoot% % \recalculatehead% % \AtBeginDocument{% fix spanish.ldf's meddling with < and > % % Fix spanish.ldf's meddling with < and > % \@ifundefined{deactivatequoting}{}{\deactivatequoting}} \AtBeginDocument{% fix frenchb.ldf's meddling with itemize and : \let\labelitemi\beamer@labelitemi \let\labelitemii\beamer@labelitemii \let\itemize\beamer@itemize \let\list\beamer@list \let\@trivlist\beamer@@trivlist% \catcode`:=12\catcode`|=12\catcode`!=12\catcode`<=12\catcode`>=12} \begingroup\beamer@origdocument% \beamer@lastminutepatches% \ifbeamer@ignorenonframe% \expandafter\mode\expandafter*% \fi} \mode
{ \let\beamer@origdocument\document \def\document{% \beamer@origdocument% \beamer@lastminutepatches} \g@addto@macro\beamer@lastminutepatches{% \ifbeamer@articleactive \else \catcode`:=12\catcode`!=12\catcode`|=12\catcode`<=12\catcode`>=12 \fi } } \AtBeginDocument{\def\es@itemize#1#2#3#4{}}% fix spanish.ldf's with \itemize % % Fix for older versions of geometry % \ifx\ifGm@compatii\@undefined% \def\Gm@lmargin{\Geom@lmargin}\def\Gm@rmargin{\Geom@rmargin} \else \geometry{includeheadfoot} \fi % % Fix deluxetabular floats % \AtBeginDocument{ \def\@plano@float@#1{\begin{table}} \def\end@plano@float@{\end{table}} } % % Fix for implict=false for hyperref % \def\WriteBookmarks{0} \expandafter\def\csname Parent-1\endcsname{} \expandafter\def\csname Parent0\endcsname{} \expandafter\def\csname Parent1\endcsname{} \def\phantomsection{} % % Bugfix for old versions of pdfmark % \begingroup \catcode`P=12 \catcode`T=12 \lowercase{\endgroup \gdef\rem@ptetc#1.#2PT#3!{#1\ifnum#2>\z@.#2\fi}% } \def\strip@pt@and@otherjunk#1{\expandafter\rem@ptetc\the#1!} % % Make the effect of pdfpagetransition and duration global, not local % \define@key{Hyp}{pdfpagetransition}{\gdef\@pdfpagetransition{#1}} \define@key{Hyp}{pdfpageduration}{\gdef\@pdfpageduration{#1}} % % % Fix for babel (will have an effect only, if babel is loaded) % % \def\textlatin{} % % Bugfix of latex internals % \def\smallskip{\vskip\smallskipamount} \def\medskip{\vskip\medskipamount} \def\bigskip{\vskip\bigskipamount} % % Obsolete commands from old versions of beamer % \def\plainframe{\frame[plain]}%obsolete \def\pgfonly{\only}%obsolete \AtBeginDocument{\newcommand{\nameslide}{\alt{\beamer@nameslide}{\@gobble}}}%obsolete \newenvironment{pauses}[1][\c@beamerpauses]{\setcounter{beamerpauses}{#1}}{}%obsolete \def\newoverlaycommand#1#2#3{\def#1{\alt{#2}{#3}}} \def\newoverlayenvironment#1#2#3#4#5{\newenvironment{#1}{\begin{altenv}{#2}{#3}{#4}{#5}}{\end{altenv}}} \newenvironment{columnsonlytextwidth}{\begin{columns}[onlytextwidth]}{\end{columns}} \def\untitledsubsection{\subsection*{}} \def\noteitems{\note[enumerate]} \mode {\def\unpause{\onslide{}}} \mode %%% Local Variables: %%% mode: latex %%% TeX-master: ../examples/beamerexample1.tex %%% End: