Commits

Anonymous committed 33b4045

bugfixes for version 0.91

Comments (0)

Files changed (7)

 2003-10-23 Till Tantau <tantau@users.sourceforge.net>
 
+	Version 0.91:
 	- Documented side bar templates.
+	- Fixed bug that did not suppress head and foot lines for notes.
+	- Fixed bug that disabled transition effects.
 
 2003-10-16 Till Tantau <tantau@cs.tu-berlin.de>
 
  1) Add option to show covered stuff in a shaded way (instead of
     completely hidden).
- 2) Some themes more appropriate for presentations of lectures.
- 3) Use xcolor for better color management
+ 2) Use xcolor for better color management
+ 3) Some themes more appropriate for presentations of lectures.
  4) Explain in the user guide, how hyperref can be used to create
     non-linear talks.
- 5) Perhaps add an way of showing photos of the authors and the
+ 5) Make adding navigation buttons like a "back button" easy.
+ 6) Perhaps add an way of showing photos of the authors and the
     institutes in a convenient way.
- 6) Add a FAQ section in User guide.
- 7) Make adding navigation buttons like a "back button" easy.
- 8) Put internal macros in beamer.cls into a namespace
- 9) "Cleanup" beamer.cls
-10) Document some of the commands for creating headline and footlines.
+ 7) Put internal macros in beamer.cls into a namespace
+ 8) "Cleanup" beamer.cls
+ 9) Document some of the commands for creating headline and footlines.
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 \ProvidesClass{beamer}
-[2003/10/01 v0.90-dev Class for Typesetting a Beamer Presentation]
+[2003/10/23 v0.91 Class for Typesetting a Beamer Presentation]
 
 % Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
 %
 % For all sorts of things...
 
 \RequirePackage{color}
-% For color management. Will move to xcolor some day
+% For color management.
 
 \RequirePackage{amssymb}
 % For \blacktriangleright
 \DeclareOption{mathsans}{\def\mathfamilydefault{\sfdefault}\@sansmathtrue}
 \DeclareOption{mathserif}{\def\mathfamilydefault{\rmdefault}\@sansmathfalse}
 
-\DeclareOption{pdftex}{\PassOptionsToPackage{pdftex}{hyperref}}
-\DeclareOption{nativepdf}{\PassOptionsToPackage{nativepdf}{hyperref}}
-\DeclareOption{pdfmark}{\PassOptionsToPackage{pdfmark}{hyperref}}
-\DeclareOption{dvips}{\PassOptionsToPackage{dvips}{hyperref}}
-\DeclareOption{dviwindo}{\PassOptionsToPackage{dviwindo}{hyperref}}
-\DeclareOption{dvipsone}{\PassOptionsToPackage{dvipsone}{hyperref}}
-\DeclareOption{vtex}{\PassOptionsToPackage{vtex}{hyperref}}
-\DeclareOption{ps2pdf}{\PassOptionsToPackage{ps2pdf}{hyperref}}
+\DeclareOption{pdftex}{}% Used by hyperref
+\DeclareOption{nativepdf}{}% Used by hyperref
+\DeclareOption{pdfmark}{}% Used by hyperref
+\DeclareOption{dvips}{}% Used by hyperref
+\DeclareOption{dviwindo}{}% Used by hyperref
+\DeclareOption{dvipsone}{}% Used by hyperref
+\DeclareOption{vtex}{}% Used by hyperref
+\DeclareOption{ps2pdf}{}% Used by hyperref
 
 \def\beamer@size{{size11.clo}}
 \DeclareOption{bigger}{\def\beamer@size{{size12.clo}}}
 
 \expandafter\input\beamer@size
 
-
 %
 %
 % Declarations used by beamer
 \definecolor{blockstructure}{rgb}{0.2,0.2,0.7}
 \definecolor{lightgray}{gray}{0.9}
 
+
 %
-% Page where the appendix start.
+%
+% Empty test
+%
+%
+\long\def\@ifempty#1#2#3{\def\@shouldbeempty{#1}\ifx\@shouldbeempty\@empty#2\else#3\fi}
+
+
+
+%
+% Page where the appendix start. (Updated later)
 %
 \def\beamer@appendixstart{1}
 
 \def\bigskip{\vskip\bigskipamount}
 
 
+
+
+
+
+
+
+
+
 %
 %
 % The \titlepage and \usetitlepagetemplate command
 \logo{}
 
 
-%
-%
-% Empty test
-%
-%
-\def\@isempty{}
-\long\def\@ifempty#1#2#3{\def\@shouldbeempty{#1}\ifx\@shouldbeempty\@isempty#2\else#3\fi}
-
 
 %
 % Section Definitions
 
 \newenvironment{frameslide}[1][1]{%
   {\let\@elt\@restorecounter\@overlaycounterresets}
-  \hypersetup{pdfpagetransition=R}%
   \serialnumber=#1\relax%
   \expandafter\@ifempty\expandafter{\beamer@framestartpage}{%
     \refstepcounter{subsectionslide}%
     \xdef\beamer@framestartpage{\thepage}% only first time
-  }{\clearpage% cleanup from previous slide
-  }%
+  }{\clearpage}% cleanup from previous slide
+  \hypersetup{pdfpagetransition=R}%
+  \hypersetup{pdfpageduration=}%
   \xdef\beamer@frameendpage{\thepage}% every time
   \beamer@entrycode\vspace*{-\baselineskip}\vfill}%
-  {\beamer@exitcode\vskip0pt plus 1.5fill}
+  {\beamer@exitcode\vskip0pt plus 1.5fill%
+  % ``Globalize'' pdfpagetransition and pdfpageduration
+  \expandafter\gdef\expandafter\@pdfpagetransition\expandafter{\@pdfpagetransition}%
+  \expandafter\gdef\expandafter\@pdfpageduration\expandafter{\@pdfpageduration}%
+  }
 
 \def\frametitle#1{%
   \vskip0pt plus -1fill%
 
   
 %
+% Uncovering management
+%
+\def\beamer@spacingcover{\pgfsys@begininvisible\pgfsys@endinvisible}%for spacing reasons
+\def\beamer@startcovered{\pgfsys@begininvisible}
+\def\beamer@endcovered{\pgfsys@endinvisible}
+
+\definecolor{back}{rgb}{0.95,0.9,0.95}
+
+  
+%
 % Make item overlays
 %
 
   \@ifnextchar<{\@parseitem}{\@origitem}}
 \def\@closeitem{}
 \def\@parseitem<#1>{%
-  \alt<#1>{\pgfsys@begininvisible\pgfsys@endinvisible%for spacing reasons
-    \gdef\@closeitem{\pgfsys@begininvisible\pgfsys@endinvisible}\@origitem}%
-  {\pgfsys@begininvisible\gdef\@closeitem{\pgfsys@endinvisible}\@origitem}%
+  \alt<#1>{\beamer@spacingcover%for spacing reasons
+    \gdef\@closeitem{\beamer@spacingcover}\@origitem}%
+  {\beamer@startcovered\gdef\@closeitem{\beamer@endcovered}\@origitem}%
   }
 
 \let\@origendtrivlist=\endtrivlist
 }
 
 
-\def\beamer@reseteecodes{\gdef\beamer@entrycode{}\gdef\beamer@exitcode{}\pagestyle{navigation}\thispagestyle{navigation}}
+\def\beamer@reseteecodes{\gdef\beamer@entrycode{}\gdef\beamer@exitcode{}}
 
 \def\plainframe{%
   \def\beamer@entrycode{\vspace*{-\headheight}}%
 \long\def\@insp#1{\ignorespaces#1\ignorespaces}
 \long\def\@gobbleis#1{\ignorespaces}
 
-\long\def\makeinvisible#1{\pgfsys@begininvisible#1\pgfsys@endinvisible}
-\long\def\fakeinvisible#1{\pgfsys@begininvisible\pgfsys@endinvisible#1\pgfsys@begininvisible\pgfsys@endinvisible}
-
+\long\def\makeinvisible#1{\beamer@startcovered#1\beamer@endcovered}
+\long\def\fakeinvisible#1{\beamer@spacingcover#1\beamer@spacingcover}
 
 
 %
 \renewoverlaycommand{\textsf}{\original{\textsf}}{}
 \renewoverlaycommand{\textrm}{\original{\textrm}}{}
 \renewoverlaycommand{\color}{\original{\color}}{\gobbleoptional}
-\newoverlayenvironment{uncoverenv}{}{}{\pgfsys@begininvisible}{\pgfsys@endinvisible}
+\newoverlayenvironment{uncoverenv}{}{}{\beamer@startcovered}{\beamer@endcovered}
 \newoverlayenvironment{onlyenv}{}{}{\begingroup\setbox0=\hbox\bgroup}{\egroup\endgroup}
 \renewoverlaycommand{\hypertarget}{\original{\hypertarget}}{\gobble}
 
 
 \let\@mkboth\@gobbletwo
 \def\ps@navigation{
-  \def\@oddhead{\setbox\tempbox=\hbox{\@backgroundtemplate\hyper@pagetransition\hyper@pageduration}%
+  \def\@oddhead{%
+    \setbox\tempbox=\hbox{\@backgroundtemplate\hyper@pagetransition\hyper@pageduration}%
     \tempheight=\ht\tempbox%
     \setbox\tempbox=\hbox{\lower\tempheight\hbox{\box\tempbox}}\wd\tempbox=0pt\ht\tempbox=0pt\dp\tempbox=0pt%
     \vbox{\hbox{\hskip-\Gm@lmargin\box\tempbox}%
           \box\tempbox%
         }%
         \@headtemplate\hfil%
-        }\hfil}}
+      }%
+      \hfil}}
   \def\@oddfoot{\@foottemplate\hypertarget{Navigation\thepage}{}\hfil}
   \let\@evenhead\@oddhead
   \let\@evenfoot\@oddfoot}
   \def\insertblockname{#1}%
   \par%
   \@beginblocktemplate}{\par\@endblocktemplate}%
-  {\pgfsys@begininvisible%
+  {\beamer@startcovered%
   \def\insertblockname{#1}%
   \par%
-  \@beginblocktemplate}{\par\@endblocktemplate\pgfsys@endinvisible}
+  \@beginblocktemplate}{\par\@endblocktemplate\beamer@endcovered}
 
 \newoverlayenvironment{alertblock}[1]{%
   \def\insertblockname{#1}%
   \par%
   \@beginalertblocktemplate}{\par\@endalertblocktemplate}%
-  {\pgfsys@begininvisible%
+  {\beamer@startcovered%
   \def\insertblockname{#1}%
   \par%
-  \@beginalertblocktemplate}{\par\@endalertblocktemplate\pgfsys@endinvisible}
+  \@beginalertblocktemplate}{\par\@endalertblocktemplate\beamer@endcovered}
 
 \newoverlayenvironment{exampleblock}[1]{%
   \def\insertblockname{#1}%
   \par%
   \@beginexampleblocktemplate}{\par\@endexampleblocktemplate}%
-  {\pgfsys@begininvisible%
+  {\beamer@startcovered%
   \def\insertblockname{#1}%
   \par%
-  \@beginexampleblocktemplate}{\par\@endexampleblocktemplate\pgfsys@endinvisible}
+  \@beginexampleblocktemplate}{\par\@endexampleblocktemplate\beamer@endcovered}
 
 \newenvironment{Problem}{\begin{block}{Problem}}{\end{block}}
 \newenvironment{Loesung}{\begin{block}{L\"osung}}{\end{block}}

doc/beamerexample.pdf

Binary file modified.

doc/beamerexample.tex

-\documentclass[red]{beamer}
+\documentclass{beamer}
 % Try the class options [notes], [notesonly], [trans], [handout],
 % [red] and see what happens!
 
 % Try this:
 \beamertemplateshadingbackground{1,0.9,0.9}{0.9,0.9,1}
 
-
-
 \begin{document}
 
 \frame{\titlepage}
 
-
 \section[Outline]{}
 
-\frame{\tableofcontents}
+\makeatletter
+\frame{\transdissolve\tableofcontents}
 \note{At most 1 minute for the outline.}
 
 \section[Models]{The Model of Overhead-Free Computation}
 
-\frame{\tableofcontentscurrent}
+\frame[handout:0]{\tableofcontentscurrent}
 
 \subsection[Standard Model]{The Standard Model of Linear Space}
 
     \end{column}
     \begin{column}{6cm}
       \begin{overprint}
-      \onslide<1-6| trans:1-3>
+      \onslide<1-6| trans:1-3| handout:1>
         \begin{block}{Characteristics}
           \begin{itemize}
           \item
             input alphabet
           \end{itemize}
         \end{block}
-      \onslide<7-| trans:4>
+      \onslide<7-| trans:4| handout:2>
         \begin{block}{Intuition}
           \begin{itemize}
           \item
 
 \section[Power of the Model]{The Power of Overhead-Free Computation}
 
-\frame{\tableofcontentscurrent}
+\frame[handout:0]{\tableofcontentscurrent}
 
 \subsection{Palindromes}
 
 
 \section[Limitations of the Model]{Limitations of Overhead-Free Computation}
 
-\frame{\tableofcontentscurrent}
+\frame[handout:0]{\tableofcontentscurrent}
 
 \subsection[Strict Inclusion]{Linear Space is Strictly More Powerful}
 

doc/beameruserguide.pdf

Binary file modified.

doc/beameruserguide.tex

 
 \begin{document}
 
-\title{User's Guide to the Beamer Class, Version 0.90-dev\\
+\title{User's Guide to the Beamer Class, Version 0.91\\
 \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}}}
   \begin{centering}
     \Large\structure{\inserttitle}
     \vskip1em\par
-    \normalsize\insertauthortitle\vskip1em\par
+    \normalsize\insertauthor\vskip1em\par
     {\scriptsize\insertinstitute\par}\par\vskip1em
     \insertdate\par\vskip1.5em
     \inserttitlegraphic
   Inserts the one-line version of the author names into a template.
 }
 
-\Command{insertauthortitle}
-\Description{
-  Inserts a version of the author names into a template that is
-  useful for the title page. 
-}
-
 \Command{insertbiblabel}
 \Description{
   Inserts the current citation label into a template.