1. Vedran Miletić
  2. beamer

Commits

Till Tantau  committed 5501575

*** empty log message ***

  • Participants
  • Parent commits c7e9e39
  • Branches default

Comments (0)

Files changed (8)

File beamer.cls

View file
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 \ProvidesClass{beamer}
-[2003/11/07 v0.93 Class for Typesetting a Beamer Presentation]
+[2003/11/08 v0.93-dev Class for Typesetting a Beamer Presentation]
 
 % Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
 %
 
 
 %
+% Stuff needed in both article and presentation version
+%
+\def\includeslide{\@ifnextchar[{\@includeslide}{\@includeslide[]}}
+\def\@includeslide[#1]#2#3{%
+  \edef\beamer@temp{#1 page \csname beamer@slide#2\endcsname}
+  \expandafter\pdfximage\beamer@temp{#3.pdf}\pdfrefximage\pdflastximage}
+
+
+
+%
 % Check whether we should initiate transfer to another class
 %
 
   \def\beamer@classoptions{#1}
   }
 
-\def\beamer@transfer{
+\def\beamer@transfer{%
+  % Prepare...
+  \def\beamer@slide##1##2{\expandafter\def\csname
+    beamer@slide##1\endcsname{##2}}
+  \@input{\jobname.snm}
+
   \beamer@inpresentationfalse
   \edef\beamer@classwhat{[\beamer@classoptions]{\beamer@classname}}
   \expandafter\LoadClass\beamer@classwhat
 \newoverlaycommand{\emph}{\@emph}{}
 \def\@emph#1{{\itshape#1}}
 
+\newoverlaycommand{\nameslide}{\@nameslide}{\gobble}
+
+\def\@nameslide#1{%
+  \addtocontents{snm}{\protect\beamer@slide{#1}{\thepage}}}
+\def\beamer@slide#1#2{\expandafter\def\csname hyperlink#1\endcsname{%
+  \hyperlink{Navigation#2}}}
+
+\@input{\jobname.snm}
 
 
 %
       \immediate\openout\tf@head\jobname.head\relax
       \newwrite\tf@toc
       \immediate\openout\tf@toc\jobname.toc\relax
+      \newwrite\tf@snm
+      \immediate\openout\tf@snm\jobname.snm\relax
     \fi
 }
 

File beamerthemeclassic.sty

View file
   \vfill
   }
 
+                                % Part page  
+\usepartpagetemplate{
+  \begin{centering}
+    \Large\structure{\textrm{\textit{\partname~\@Roman\c@part}}}
+    \vskip1em\par
+    \textrm{\textit{\insertpart}}\par
+  \end{centering}
+  }
+
                                 % Frametitles
 \useframetitletemplate{%
   \vskip1.5em

File beamerthemeplain.sty

View file
   \vfill
   }
 
+                                % Part page  
+\usepartpagetemplate{
+  \begin{centering}
+    \Large\structure{\textrm{\textit{\partname~\@Roman\c@part}}}
+    \vskip1em\par
+    \textrm{\textit{\insertpart}}\par
+  \end{centering}
+  }
+
                                 % Frametitles
 \useframetitletemplate{%
   \vskip1.5em

File beamerthemesidebardark.sty

View file
   \vfill
 }
 
+                                % Part page  
+\usepartpagetemplate{
+  \begin{centering}
+    \Large\structure{\bfseries\partname~\@Roman\c@part}
+    \vskip1em\par
+    \bfseries\insertpart\par
+  \end{centering}
+}
+
                                 % Frametitles
 \useframetitletemplate{%
   {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%

File beamerthemesidebardarktab.sty

View file
   \vfill
 }
 
+                                % Part page  
+\usepartpagetemplate{
+  \begin{centering}
+    \Large\structure{\bfseries\partname~\@Roman\c@part}
+    \vskip1em\par
+    \bfseries\insertpart\par
+  \end{centering}
+}
+
+
 \pgfdeclarehorizontalshading{beamer@tabmain}{6.5pt}
 {color(0pt)=(white);
   color(\beamer@sidebarwidth)=(structure!50!averagebackgroundcolor)}

File doc/beamerexample.pdf

Binary file modified.

File doc/beamerexample.tex

View file
-\documentclass[class=article]{beamer}
+\documentclass{beamer}
 
 % Try the class options [notes], [notesonly], [trans], [handout],
 % [red], [compress], [class=article] and see what happens!
 
 \begin{figure}
   \begin{centering}
-    \leavevmode\insertslide[]{outline}\par
+    \leavevmode\includeslide{outline}{beamerexample.presentation}\par
   \end{centering}
   \caption{The outline.}
 \end{figure}
 
 \begin{figure}
   \begin{centering}
-    \leavevmode\insertslide[]{backfromproofdetails}\par
+    \leavevmode\includeslide[height 5cm]{backfromproofdetails}{beamerexample.presentation}\par
   \end{centering}
   \caption{A jump back.}
 \end{figure}

File doc/beameruserguide.tex

View file
 
 \begin{document}
 
-\title{User's Guide to the Beamer Class, Version 0.93\\
+\title{User's Guide to the Beamer Class, Version 0.93-dev\\
 \Large\href{http://latex-beamer.sourceforge.net}{\texttt{http://latex-beamer.sourceforge.net}}}
 \author{Till Tantau\\
   \href{mailto:tantau@users.sourceforge.net}{\texttt{tantau@users.sourceforge.net}}}