Commits

Vedran Miletić committed d02a7cf

Rearrange the folders in TL-consistent way.

Comments (0)

Files changed (234)

base/emulation/beamerfoils.sty

+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackageRCS $Header$
+
+\let\leftheader=\@gobble
+\let\rightheader=\@gobble
+\let\leftfooter=\@gobble
+\let\rightfooter=\@gobble
+\let\Restriction=\@gobble
+\let\marginpar=\@gobble
+
+\newcommand\LogoOff{\expandafter\global\logo{}}
+\newcommand\LogoOn{\expandafter\global\logo{\beamerfoils@logo}}
+\def\MyLogo#1{\gdef\beamerfoils@logo{#1}\LogoOn}
+\def\beamerfoils@logo{}
+
+\newtheorem*{Theorem*}{Theorem}
+\newtheorem*{Lemma*}{Lemma}
+\newtheorem*{Corollary*}{Corollary}
+\newtheorem*{Proposition*}{Proposition}
+\newtheorem*{Definition*}{Definition}
+
+\def\beamerfoils@closer{}%
+\newcommand\foilhead[2][]{%
+  \beamerfoils@closer%
+  \ifbeamer@inframe
+    \gdef\beamerfoils@closer{}%
+    \let\beamerfoils@next=\relax%
+  \else
+    \gdef\beamerfoils@closer{\egroup}%
+    \let\beamerfoils@next=\beamerfoils@openframe%
+  \fi
+  \beamerfoils@next%
+  \frametitle{#2}%
+  }
+\let\rotatefoilhead=\foilhead
+
+\def\beamerfoils@openframe{\beamerfoils@origframe[allowframebreaks]\bgroup}%
+
+\let\beamerfoils@origframe=\frame
+\def\frame{\endfoil\beamerfoils@origframe}
+
+\def\endfoil{\beamerfoils@closer\gdef\beamerfoils@closer{}}
+
+\beamertemplatecontinuationtext
+
+\newenvironment{boldequation}{\boldmath\begin{equation}}{\end{equation}}
+\newenvironment{boldequation*}{\boldmath\begin{equation*}}{\end{equation*}}
+
+\DeclareRobustCommand\FoilTeX{{\normalfont{\sffamily Foil}\kern-.03em{\rmfamily\TeX}}}
+\def\bm#1{\mathpalette\bmstyle{#1}}
+\def\bmstyle#1#2{\mbox{\boldmath$#1#2$}}

base/emulation/beamerprosper.sty

+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackageRCS $Header$
+
+\let\beamerprosper@entry=\@gobble
+
+\DeclareOption{framesassubsections}{\mode<presentation>
+  {\def\beamerprosper@entry#1{\beamer@ifempty{#1}{}{\subsection{#1}}}}}
+
+\ProcessOptions
+
+% Redefine \institution inside \author
+\mode<presentation>
+{
+\def\author{\@dblarg\beamer@author}
+\def\beamer@author[#1]#2{%
+  \def\insertauthor{\def\inst{\beamer@insttitle}\def\and{\beamer@andtitle}%
+    \let\institution=\beamer@institution#2}%
+  \def\beamer@shortauthor{\let\institution=\beamer@shortinstitution#1}%
+}
+\def\beamer@institution#1{\footnotesize #1}
+\def\beamer@shortinstitution#1{\ }
+
+\def\institution{\institute}
+}
+
+\mode<article>
+{
+  \def\institution#1{#1}
+}
+
+
+\newcommand\email[1]{\texttt{#1}}
+
+\define@key{beamerprosper}{toc}{\def\beamerprosper@toc{#1}}
+\define@key{beamerprosper}{template}{}
+\define@key{beamerprosper}{trans}{\def\beamerprosper@trans{#1}}
+\define@key{beamerprosper}{Glitter}[true]{\def\beamerprosper@trans{Glitter}}
+\define@key{beamerprosper}{R}[true]{\def\beamerprosper@trans{R}}
+\define@key{beamerprosper}{Replace}[true]{\def\beamerprosper@trans{Replace}}
+\define@key{beamerprosper}{Split}[true]{\def\beamerprosper@trans{Split}}
+\define@key{beamerprosper}{Blinds}[true]{\def\beamerprosper@trans{Blinds}}
+\define@key{beamerprosper}{Box}[true]{\def\beamerprosper@trans{Box}}
+\define@key{beamerprosper}{Wipe}[true]{\def\beamerprosper@trans{Wipe}}
+\define@key{beamerprosper}{Dissolve}[true]{\def\beamerprosper@trans{Dissolve}}
+\define@key{beamerprosper}{Glitter}[true]{\def\beamerprosper@trans{Glitter}}
+
+
+\newcommand{\PDForPS}[2]{\ifx\pdfoutput\@undefined#2\else#1\fi}
+\newcommand{\onlyInPDF}[1]{\ifx\pdfoutput\@undefined\else#1\fi}
+\newcommand{\onlyInPS}[1]{\ifx\pdfoutput#1\@undefined\fi}
+
+\newenvironment{slide}[2][]{%
+  \def\beamerprosper@toc{#2}
+  \def\beamerprosper@trans{}%
+  \setkeys{beamerprosper}{#1}%    
+  \expandafter\beamerprosper@entry\expandafter{\beamerprosper@toc}%
+  \edef\@temp{\noexpand\begin{frame}\beamerprosper@options}%
+  \@temp\PDFtransition{\beamerprosper@trans}\frametitle{#2}}{\end{frame}}
+
+\def\beamerprosper@options{[containsverbatim]}
+\long\def\overlays#1#2{{\def\beamerprosper@options{}#2}}
+
+\def\fromSlide{\@ifstar{\beamer@sfromSlide}{\beamer@fromSlide}}
+\newcommand{\beamer@fromSlide}[2]{\uncover<#1->{#2}}
+\newcommand{\beamer@sfromSlide}[2]{\only<#1->{#2}}
+
+\def\onlySlide{\@ifstar{\beamer@sonlySlide}{\beamer@onlySlide}}
+\newcommand{\beamer@onlySlide}[2]{\uncover<#1>{#2}}
+\newcommand{\beamer@sonlySlide}[2]{\only<#1>{#2}}
+
+\def\untilSlide{\@ifstar{\beamer@suntilSlide}{\beamer@untilSlide}}
+\newcommand{\beamer@untilSlide}[2]{\uncover<-#1>{#2}}
+\newcommand{\beamer@suntilSlide}[2]{\only<-#1>{#2}}
+
+\newcommand\FromSlide[1]{\onslide<#1->}
+\newcommand\OnlySlide[1]{\onslide<#1>}
+\newcommand\UntilSlide[1]{\onslide<-#1>}
+
+\newcommand\slideCaption[1]{\date{#1}}
+\def\Logo{\@ifnextchar(\beamer@Logo\logo}
+\def\beamer@Logo(#1,#2){\logo}
+
+\let\DefaultTransition=\@gobble
+\let\NoFrenchBabelItemize=\relax
+\let\TitleSlideNav=\@gobble
+\let\NormalSlideNav=\@gobble
+\let\LeftFoot=\@gobble
+\let\RightFoot=\@gobble
+
+\AtBeginDocument{\let\beamer@steporigitem=\item}
+
+\newenvironment{Itemize}{\begin{itemize}}{\end{itemize}}
+\newenvironment{itemstep}[1][]{\begin{itemize}[<+->]}{\end{itemize}}
+\newenvironment{enumstep}[1][]{\begin{enumerate}[<+->]}{\end{enumerate}}
+\newcommand\prosperpart[2][]{\begin{slide}[#1]{}\begin{centering}\Large\structure{#2}\par\end{centering}\end{slide}}
+\newcommand{\hiddenitem}{\addtocounter{beamerpauses}{1}}
+
+
+\newcommand{\FontTitle}[2]{}
+\newcommand{\FontText}[2]{}
+\newcommand{\fontTitle}[1]{#1}
+\newcommand{\fontText}[1]{#1}
+\newcommand{\ColorFoot}[1]{}
+\newcommand{\PDFtransition}[1]{\csname beamer@trans#1\endcsname}
+\def\beamer@trans{}
+\def\beamer@transR{}
+\def\beamer@transReplace{}
+\def\beamer@transSplit{\transsplithorizontalout}
+\def\beamer@transBlinds{\transblindshorizontal}
+\def\beamer@transBox{\transboxout}
+\def\beamer@transWipe{\transwipe}
+\def\beamer@transDissolve{\transdissolve}
+\def\beamer@transGlitter{\transglitter}
+
+\newcommand{\myitem}[2]{}
+
+\def\tsection{\@ifstar\section\section}
+
+\def\tsectionandpart{\@ifstar\beamerprosper@tsp\beamerprosper@tsp}
+
+\newcommand\beamerprosper@tsp[2][]{%
+  \def\beamerprosper@toc{#2}%
+  \def\beamerprosper@trans{}%
+  \setkeys{beamerprosper}{#1}%
+  \expandafter\section\expandafter{\beamerprosper@toc}
+  \mode<presentation>{\expandafter\prosperpart\expandafter[\beamerprosper@trans]{#2}}}
+
+\newbox\beamerprosper@notebox
+
+\newenvironment{notes}[1]{%
+  \begingroup%
+  \textwidth=10.8cm\hsize=\textwidth\setbox\beamerprosper@notebox=\vbox\bgroup
+  \begin{small}\textbf{#1}\par\medskip}
+{\par\end{small}\egroup\note{\box\beamerprosper@notebox}
+  \endgroup}
+
+\let\wideslide=\slide
+\let\endwideslide=\endslide
+\let\HAPsetup=\@gobble
+
+\newdimen\beamerprosper@leftwidth
+\newdimen\beamerprosper@rightwidth
+
+\define@key{beamerprosper}{lcolwidth}{\beamerprosper@leftwidth=#1\relax}
+\define@key{beamerprosper}{rcolwidth}{\beamerprosper@rightwidth=#1\relax}
+\define@key{beamerprosper}{lfrheight}{}
+\define@key{beamerprosper}{rfrheight}{}
+\define@key{beamerprosper}{frsep}{}
+\define@key{beamerprosper}{colsep}{}
+\define@key{beamerprosper}{topsep}{}
+\define@key{beamerprosper}{bottomsep}{}
+\define@key{beamerprosper}{indent}{}
+
+\def\dualslide{\@ifnextchar[{\beamerprosper@gobble}{\beamerprosper@dual}}
+\long\def\beamerprosper@gobble[#1]{\dualslide}
+\long\def\beamerprosper@dual#1#2#3{%
+  \beamerprosper@leftwidth=0.47\linewidth%
+  \beamerprosper@rightwidth=0.47\linewidth%
+  \setkeys{beamerprosper}{#1}%
+  \begin{columns}[t,onlytextwidth]%
+    \column{\beamerprosper@leftwidth}%
+    #2%
+    \column{\beamerprosper@rightwidth}%
+    #3%
+  \end{columns}\bigskip}

base/emulation/beamerseminar.sty

+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackageRCS $Header$
+
+\newif\ifbeamerseminar@accumulated
+\beamerseminar@accumulatedfalse
+
+\DeclareOption{accumulated}{\beamerseminar@accumulatedtrue}
+\ProcessOptions
+
+
+\newcount\beamerseminar@overlay
+
+\def\overlay#1{%
+  \beamerseminar@overlay=#1\relax%
+  \advance\beamerseminar@overlay by1\relax%
+  \ifbeamerseminar@accumulated%
+    \expandafter\onslide\expandafter<\the\beamerseminar@overlay->%
+  \else%
+    \expandafter\onslide\expandafter<\the\beamerseminar@overlay>%
+  \fi%
+  \aftergroup\beamerseminar@endoverlay\ignorespaces}
+\def\beamerseminar@endoverlay{%
+  \ifbeamerseminar@accumulated%
+    \expandafter\onslide\expandafter<\the\beamerseminar@overlay->%
+  \else%
+    \expandafter\onslide\expandafter<\the\beamerseminar@overlay>%
+  \fi}
+
+\newif\ifbeamerseminar@starred
+\newenvironment{slide}[1][]{%
+  \beamerseminar@starredfalse
+  \ifbeamer@inframe%
+    \beamerseminar@overlay=1\bgroup\overlay{0}%
+  \else%
+    \frame[containsverbatim]\bgroup%
+  \fi}
+  {\egroup}
+\newenvironment{slide*}[1][]{\begin{slide}\beamerseminar@starredtrue}{\end{slide}}
+
+\newcommand{\newslide}{%
+  \ifbeamerseminar@starred%
+    \end{slide*}\begin{slide*}%
+  \else%
+    \end{slide}\begin{slide}%
+  \fi}
+
+\beamerseminar@overlay=1
+
+\def\blue{\color{blue}}
+\def\red{\color{red}}
+\def\green{\color{green}}
+
+\def\ptsize#1{}
+
+\newif\ifarticle
+\articlefalse
+\newif\ifslidesonly
+\slidesonlytrue
+\newif\ifslide
+\slidetrue
+\newif\ifportrait
+\portraitfalse
+\newif\ifcenterslides
+\centerslidestrue
+\newdimen\semin
+\newdimen\semcm
+
+\semin=.5in
+\semcm=.5cm
+
+\mode<article>{\articletrue\slidefalse\slidesonlyfalse}

base/emulation/beamertexpower.sty

+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackageRCS $Header$
+
+\long\def\stepwise#1{{\nonboxedsteps#1}}
+\long\def\parstepwise#1{{\boxedsteps#1}}
+\long\def\liststepwise{\vspace*{\parskip}\hrule \@height\z@\stepwise}
+\long\def\step#1{\beamerpower@action<+(1)->{#1}}
+\long\def\steponce#1{\beamerpower@action<+(1)>{#1}}
+\long\def\switch#1#2{\alt<+(1)->{#2}{#1}}
+\long\def\bstep#1{{\boxedsteps\step{#1}}}
+\long\def\dstep{\addtocounter{beamerpauses}{1}}
+\long\def\vstep{\addtocounter{beamerpauses}{1}}
+
+\def\restep{\addtocounter{beamerpauses}{-1}\step}
+\def\reswitch{\addtocounter{beamerpauses}{-1}\switch}
+\def\rebstep{\addtocounter{beamerpauses}{-1}\bstep}
+\def\redstep{\addtocounter{beamerpauses}{-1}\dstep}
+\def\revstep{\addtocounter{beamerpauses}{-1}\vstep}
+
+\def\boxedsteps{\let\beamerpower@action=\uncover}
+\def\nonboxedsteps{\let\beamerpower@action=\only}
+\boxedsteps
+
+\DeclareRobustCommand{\code}[1]{\textbf{\texttt{#1}}}%
+\DeclareRobustCommand{\codeswitch}{\bfseries\ttfamily}% 

base/emulation/examples/beamerexample-foils.tex

+% Copyright 2007 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+% $Header$
+
+% This file is a demonstration on how a foils file should be
+% changed to make it work with beamer.
+
+% Copyright notice:
+
+% Since foiltex has a restricted license, I'm not able to include an
+% original example from foiltex. Instead, I'm providing a simple
+% example that shows the basic usage.
+
+
+\documentclass{beamer}
+\usepackage{beamerfoils}
+\beamertemplatetheoremsnumbered
+
+\title{A Foils-To-Beamer Example}
+
+\author{Till Tantau}
+
+\MyLogo{\tiny-- Typeset by beamer emulation of \FoilTeX\ --}
+
+\leftheader{Till Tantau}
+
+\begin{document}
+
+\frame{
+\maketitle
+}
+
+\foilhead{A first frame}
+
+Some text.
+
+\pagebreak
+
+More text on next slide.
+
+\foilhead{A third frame}
+
+Some text.
+
+\endfoil
+\end{document}

base/emulation/examples/beamerexample-prosper.tex

+% Copyright 2007 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+% $Header$
+
+\documentclass[notes]{beamer}
+
+% You might wish to try this instead of the above line:
+%\documentclass[class=article]{beamer}
+%\usepackage{beamerbasearticle}
+%\usepackage{hyperref}
+
+\usepackage[framesassubsections]{beamerprosper}
+
+\mode<presentation>
+{
+  \definecolor{beamerstructure}{RGB}{43,79,112}
+  \definecolor{sidebackground}{RGB}{230,242,250}
+  \color{beamerstructure}
+  \usetheme{Goettingen}
+  \usepackage{times}
+  \userightsidebarcolortemplate{\color{sidebackground}}
+  \beamertemplateballitem
+}
+
+
+\title{A Beamer Presentation Using (HA-)Prosper Commands}
+\subtitle{Subtitles Are Also Supported}
+\author{Till Tantau}
+\institution{The Institution is Mapped To Institute}
+
+\begin{document}
+
+\maketitle
+
+\tsectionandpart{Introduction}
+
+\overlays{2}{
+\begin{slide}[trans=Glitter]{About this file}
+  \begin{itemstep}
+  \item
+    This is a beamer presentation.
+  \item
+    You can use the prosper and the HA-prosper syntax.
+  \item
+    This is done by mapping prosper and HA-prosper commands to beamer
+    commands.
+  \item
+    The emulation is by no means perfect.
+  \end{itemstep}
+\end{slide}
+}
+
+
+\section{Second Section}
+
+\subsection{A subsection}
+
+\frame
+{
+  \frametitle{A frame created using the \texttt{frame} command.}
+
+  \begin{itemize}[<+->]
+  \item You can still use the original beamer syntax.
+  \item The emulation is intended only to make recycling slides
+    easier, not to install a whole new syntax for beamer.
+  \end{itemize}
+}
+
+\begin{notes}{Notes for these slides}
+My notes for these slides.
+\end{notes}
+
+\end{document}

base/emulation/examples/beamerexample-seminar.tex

+% $Header$
+
+% This file is a demonstration on how a seminar file should be
+% changed to make it work with beamer.
+
+
+% Copyright notice:
+
+% Except for the changes indicated by CHANGED, this file is the original
+% file semsamp2.tex, which is part of the examples of the seminar
+% package. 
+
+
+%% BEGIN semsamp2.tex
+% This is a sample document for seminar.sty, v0.93 (and maybe later).
+%
+% This file contains both landscape and portrait mode slides.
+% Choose one of the following to print them out:
+%  - If using PSTricks, try the semcolor style option.
+%  - If using Rokicki's dvips, try the semrot style option.
+%  - To print the landscape slides, put \landscapeonly in the preamble.
+%    To print the portrait slides, include the portrait style option and
+%    put \portraitonly in the preamble.
+%
+%
+
+% CHANGED: commented the following:
+%\documentstyle[%
+%  slidesonly,%  Try notes or notesonly instead.
+%  %notes,%      Use instead of slidesonly to typeset the notes.
+%  %notesonly,%  Use instead of slidesonly to typeset notes and slides.
+%  %semcolor,%   Try me if using PSTricks.
+%  %semrot,%     Try me if using Rokicki's dvips.
+%  %semhelv,%    Try me if using a PostScript printer.
+%  %article,%    Try me.
+%  %portrait,%   Try me.
+%  %sem-a4,%     Try me if using A4 paper.
+%  semlayer%     This must be included, but you need the semcolor option to
+%  ]{seminar}                                  % actually see the overlays.
+%
+%\slidesmag{5}
+%\articlemag{1}
+%
+%%\twoup                     % Try me for twoup printing.
+%
+%%\portraitonly              % To print only portrait slides
+%%\landscapeonly             % To print only landscape slides
+%
+%%\notslides{\ref{questions}-7,1}   %Try me: The slides are omitted.
+%%\onlyslides{\ref{questions}-7,1}  %Try me: Only these slides are included.
+%%\onlynotestoo                     %Try me: For selecting notes as well.
+%
+%\colorlayers{red,blue}      % Try deleting this if using the semcolor option,
+%                            % to get \blue and \red to use PostScript color.
+%
+%%\overlaysfalse             % Suppress overlays with semcolor option.
+%%\layersfalse               % Suppress color layers with semcolor option.
+%
+%\rotateheaderstrue          % Try this out if using rotation macros.
+
+% CHANGED: Added following three lines:
+\documentclass[ignorenonframetext]{beamer}
+\usepackage[accumulated]{beamerseminar}
+                                % remove ``accumulated'' option
+                                % for original behaviour
+\usepackage{beamerthemeclassic}
+
+\title{Example for seminar.sty}
+\author{Policarpa Salabarrieta}
+\date{July 21, 1991}
+
+\newcommand{\sref}[1]{SLIDE \ref{#1}}
+
+% CHANGED: different definition of \heading
+%\newcommand{\heading}[1]{\begin{center}\large\bf #1\end{center}}
+\let\heading=\frametitle
+
+% CHANGED: Commented:
+%\newpagestyle{MH}%
+%  {University of Guaduas, March 13, 1998\hfil\thepage}{}
+%\pagestyle{MH}
+
+\begin{document}
+
+% CHANGED: Added \frame
+\frame{
+\maketitle          % This won't show up when \onlynotestoo is in effect.
+}
+
+% CHANGED: Commented
+%\begin{slide}
+%  \ifslidesonly              % Title slide only for slidesonly selection.
+%    \maketitle
+%    \addtocounter{slide}{-1}
+%    \slidepagestyle{empty}
+%  \fi
+%\end{slide}
+
+
+This is a lot of gobbledy-gook intended only to illustrate some of the
+features of seminar.sty.
+
+ The phrase information overload rings a bell with just about anyone.
+Certainly you all receive more working papers or more applications for
+graduate school than you can readily read. Nevertheless, the term information
+overload is ill-defined. (\sref{too_much}, top)
+
+ A message like this when you check your email conjures up the notion of
+information overload. More generally, information overload always means too
+much information, in some sense or another. But what does ``too much'' mean?
+(\sref{too_much}, bottom) It might just mean that people cannot process all
+the information they receive. That is certainly true for everyone. A claim
+that is much stronger, and that is implicit when people complain about
+informaton overload, is that people {\em should} receive less information, by
+some criterion.
+
+% CHANGED: Added \frame
+\frame{
+\begin{slide}\label{too_much}%
+\begin{center}
+  \large\bf
+ Information overload = ``Too much'' information
+\end{center}
+\smallskip
+
+\begin{verse} \bf\tt
+  You have 134 unread messages:\\
+  Do you want to read them now?
+\end{verse}
+
+\begin{enumerate}
+  {\overlay2
+  \item People {\overlay1 cannot process all} the information they receive.}
+  \item People {\em should} receive less information.
+ \end{enumerate}
+\end{slide}
+}
+
+  In this paper, I use the term ``information overload'' in both senses.
+(\sref{overload}, bottom). Specifically, I say that an {\em individual} is
+overloaded with information if she receives more information than she can
+process. But I say that there is information overload in a {\em network} if
+there is some mechanism that  makes the senders and/or receivers better off by
+restricting the flow of  information. This latter notion of information
+overload is an equilibrium property, and it depends on what we mean by
+``better off.''
+
+% CHANGED: Added \frame
+\frame{
+\begin{slide*}\label{overload}
+\ptsize{12}
+
+\begin{itemize}{\overlay1
+  \item There is information {\overlay0 overload in a network if} there is
+some mechanism that, compared to the {\em status quo}, makes the senders
+and/or receivers better off by restricting the flow} of information.'
+
+  \item There is information overload in a network if there is some mechanism
+that, compared to the {\em status quo}, makes the senders and/or receivers
+better off by restricting the flow of information.
+\end{itemize}
+
+\end{slide*}
+}
+
+(\sref{questions})
+  The purpose of my paper is to show why there can be information overload in
+a network and what kind of mechanisms can make the receivers and/or senders
+better off. Since the cost of communication is one factor that restricts
+communication, I am thus also going to look at how the welfare of the senders
+and receivers depends on the cost of communication.
+
+  Most messages don't become jumbled and we can choose which ones to process. 
+But some of us may have a bias towards choosing to process more information
+than we should, like the graduate student who feels compelled to read every
+article on the usual lengthy reading list, and just ends up getting confused
+and ruffling through the papers.
+
+% CHANGED: Added \frame
+\frame{
+\begin{slide}[7.3in,5.5in] \label{questions}
+\heading{Questions}
+
+\begin{itemize}
+  {\overlay1\item When could {\blue there be overload} in networks?}
+  \item What mechanims make the receivers and senders better off?
+  \item How does the welfare {\red of the senders} and receivers depend on the
+cost of communication?
+\end{itemize}
+\end{slide}
+}
+
+However, experiments in consumer research and psychology have failed to find
+that such a bias is prevalent. This is in spite of the fact that it is common
+for stress and cognitive strain to increase with information load. We may
+incur such stress and strain because the information we choose to process is
+valuable to us.
+
+More commonly, then, we can and do choose to process roughly as much
+information as we can handle efficiently. This is called screening. But when
+we choose which messages to begin to process, we're ignorant of their
+contents, since otherwise there would be no reason to process them in the
+first place. Therefore, if we receive more junk mail, then some of the
+important mail gets crowded out, and we are effectively less informed.
+
+
+% CHANGED: Added \frame
+\frame{
+\begin{slide} \label{informed}
+\begin{center}
+  {\bf Being more informed} \par
+    \smallskip
+  is always better,\par
+    \medskip
+  \overlay1{but it's not the same as \par
+    \smallskip
+  {\bf receiving more information}}
+\end{center}
+\end{slide}
+}
+
+  Why would the senders communicate too many messages in the first place? If I
+present too much material in this seminar, you have to choose which parts to
+ignore and I would rather make that decision myself, since I know what I most
+want to get across. Thus, it is in my interest not to overload you with
+information. Generally, whenever there is a single sender of messages, that
+sender will prefer to screen rather than have the receiver screen, because the
+sender has an interest in which messages the receiver processes.
+But when there are more senders, one sender's  messages tend to crowd out the
+messages of the other senders, as in this example here. If the senders don't
+take this external cost into account when sending messages, they may
+collectively overload the receiver. (\sref{akbar})
+
+There are several reasons that our scarcity of attention, that is, our limited
+capacity to process information, can mean that we become less informed when we
+receive  more information. I have a cartoon here to illustrate these reasons.
+(\sref{akbar})
+
+% CHANGED: Added \frame
+\frame{
+\begin{slide}\label{akbar}\def\slidefuzz{15pt}
+  {\large A tax $\tau$ on communication is said to support
+$\tilde{\cal{X}}(c)$ if $\tilde{\cal{X}}(c)$ is an equilibrium for
+$\Gamma(c+\tau)$.}
+\medskip
+
+ {\bf Proposition 6.} {\em Assume $\tilde{\cal{X}}(c)$ is not an equilibrium
+for $\Gamma(c)$.\vspace{-3pt}
+\begin{enumerate}
+ \item If $\mbox{supp}(\gamma)=[0,1]^n$, there is no tax that supports
+$\tilde{\cal{X}}(c)$.
+ \item If $\mbox{supp}(\gamma)=S^{n-1}$, there is a tax that supports
+$\tilde{\cal{X}}(c)$ if and only if $m=1$, $p_j>c\, \forall j$, and
+   \begin{enumerate}
+     \item $n=2$; or
+     \item $n=3$ and $p_i^{-1}+p_j^{-1}\geq p_k^{-1}$ for all distinct
+$i,j,k$; or
+     \item $n=4$ and $p_1=p_2=p_3=p_4$.
+\end{enumerate}
+\end{enumerate}}
+\end{slide}
+}
+  If, by restricting communication, we eliminate the less relevant messages,
+then we can become more informed. But how can we achieve this? Restricting the
+flow of information shifts the task of screening messages from the receivers
+to the senders. Unlike the receivers, the senders do know the contents of the
+messages they originate. If the senders' interests coincide with those of the
+receiver and if the senders have sufficient knowledge about the receivers,
+then the senders will choose the messages which are most relevant to the
+receivers. This may make the receivers, and even the senders, better off.
+
+  The network in Slide \ref{architectures} attains the minimal delay $c(8,24)
+= 6$ using 8 processors. It is an example of the efficient one-shot networks
+described by Foo. We will focus on a class of networks that are similar to the
+Foo networks but that may differ slightly. For $q$, $c$ and $n$ such that $1
+\leq q \leq \lfloor n/2 \rfloor$ and $c(q,n) \leq c \leq n$, let $R_{nqc}$ be
+the class of essential networks for adding $n$ items using  $q$ processors in
+$c$ cycles that have the following  properties:
+
+% CHANGED: Added \frame
+\frame{
+\begin{slide*}\label{architectures}
+\heading{Architecture}
+
+\begin{center}
+\setlength{\unitlength}{1.65in}
+\begin{picture}(1.1,1.6)(3.5,5.0)
+\put(4.0,6.5){\circle*{.04}}
+\put(4.1,6.5){1}
+\put(4.0,6.0){\circle*{.04}}
+\put(4.1,6.0){2}
+\put(4.0,6.1){\vector(0,1){.3}}
+\put(3.5,6.0){\circle*{.04}}
+\put(3.6,6.0){3}
+\put(3.6,6.1){\vector(1,1){.3}}
+\put(4.0,5.5){\circle*{.04}}
+\put(4.1,5.5){4}
+\put(4.0,5.6){\vector(0,1){.3}}
+\put(4.5,6.0){\circle*{.04}}
+\put(4.6,6.0){5}
+\put(4.4,6.1){\vector(-1,1){.3}}
+\put(4.5,5.5){\circle*{.04}}
+\put(4.6,5.5){6}
+\put(4.4,5.6){\vector(-1,1){.3}}
+\put(3.5,5.5){\circle*{.04}}
+\put(3.6,5.5){7}
+\put(3.5,5.6){\vector(0,1){.3}}
+\put(4.0,5.0){\circle*{.04}}
+\put(4.1,5.0){8}
+\put(4.0,5.1){\vector(0,1){.3}}
+\end{picture}
+\end{center}
+\end{slide*}
+}
+
+Why would the senders communicate too many messages in the first place? If I
+present too much material in this seminar, you have to choose which parts to
+ignore and I would rather make that decision myself, since I know what I most
+want to get across. Thus, it is in my interest not to overload you with
+information.
+
+Generally, whenever there is a single sender of messages, that sender will
+prefer to screen rather than have the receiver screen, because the sender has
+an interest in which messages the receiver processes. But when there are more
+senders, one sender's  messages tend to crowd out the messages of the other
+senders, as in this example here. If the senders don't take this external cost
+into account when sending messages, they may collectively overload the
+receiver. (\sref{architectures})
+
+\end{document}
+%% END semsamp2.tex

base/emulation/examples/beamerexample-texpower.tex

+% $Header$
+
+% This file is a demonstration on how a seminar file should be
+% changed to make it work with beamer.
+
+
+% Copyright notice:
+
+% Except for the changes indicated by CHANGED, this file is the original
+% file texpower-0.0.9d/doc/seminardemo.tex, which is part of the
+% examples of the texpower package. 
+
+
+
+% seminardemo.tex,v 1.2 2002/11/14 20:46:00 hansfn Exp
+%  
+% TeXPower bundle - dynamic online presentations with LaTeX
+% Copyright (C) 1999-2002 Stephan Lehmke
+% 
+% This program is free software; you can redistribute it and/or
+% modify it under the terms of the GNU General Public License
+% as published by the Free Software Foundation; either version 2
+% of the License, or (at your option) any later version.
+% 
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+%-----------------------------------------------------------------------------------------------------------------
+% File: seminardemo.tex
+%
+% Simple examples the for combining the seminar class with the dynamic features provided by the package texpower.sty. 
+% 
+%-----------------------------------------------------------------------------------------------------------------
+% Autor: Stephan Lehmke <Stephan.Lehmke@cs.uni-dortmund.de>
+%
+% v0.0.1 Jun 02, 2000: First version for the pre-alpha release of TeXPower.
+%
+
+
+% CHANGED: commented
+%\documentclass{seminar}
+%
+%% We need fixseminar for setting the page size correctly.
+%
+%\usepackage{fixseminar}
+%
+%
+%%-----------------------------------------------------------------------------------------------------------------
+%% The texpower package is loaded. 
+%% We give the display option so dynamic features are enabled.
+%%
+%\usepackage[display]{texpower}
+
+% CHANGED: Added
+\documentclass[slidestop,usepdftitle=false]{beamer}
+\usepackage[accumulated]{beamerseminar}
+\usepackage{beamertexpower}
+\usepackage{beamerthemeshadow}
+
+
+% CHANGED: Moved \title and \author outside of slide
+\title{The \code{texpower} Package\\ {\normalfont \texttt{seminar} Demo}}
+\author[Stephan Lehmke]{Stephan Lehmke\\\code{mailto:Stephan.Lehmke@cs.uni-dortmund.de}}
+
+\begin{document}
+\begin{slide}
+
+\maketitle
+
+\newslide
+
+\tableofcontents
+\end{slide}
+
+% CHANGED: Added \frame, moved \section out, added \frametitle
+\section{A list environment}
+\frame{
+\begin{slide}
+\centerslidesfalse
+\frametitle{A list environment}
+
+% The \pause command `splits' the current page at the place it appears, producing two pages, one with everything which
+% came before the \pause command, one containing this and additionally the stuff coming after \pause. When these pages
+% are presented with acrobar reader in full screen mode (or any other viewer with this capability), the presentation
+% will appear to `stop' at the point the \pause command was issued and `resume' in the moment the presenter switches to
+% the next page.
+
+\pause
+
+% As \pause forces a paragraph break, it can not be used to separate a description label from the associated text. For
+% this, we use the (very flexible) \stepwise command. Inside the argument of \stepwise, an arbitrary number of \step
+% commands may occur. \stepwise will produce as many pages as there are \step commands, making the arguments of the
+% \step commands appear ``one by one''.
+
+\stepwise
+{%
+  \begin{description}
+  \item[foo.] \step{bar.}
+  \step{\item[baz.]} \step{qux.}
+  \end{description}
+  }
+
+
+
+\end{slide}
+}
+
+% CHANGED: Added \frame, moved \section out
+\section{An aligned equation}
+\frame{
+\begin{slide}
+\centerslidesfalse
+\frametitle{An aligned equation}
+
+\pause
+
+% Normally for \stepwise, if a \step is not yet active, its argument is ignored completely. This would disturb
+% alignments, because the width changes with every new activated \step.
+% \parstepwise is a variant of \stepwise where the argument of an inactive \step is put into a \phantom, leaving the
+% proper amount of white space.
+
+\parstepwise
+{%
+  % Using eqnarray with equation numbers here means all equation numbers will be visible from the outset, because only
+  % the contents of the lines are `filled in'. See the full demo for an example of aligned equations where equation
+  % numbers `appear'.
+  \begin{eqnarray}
+    %
+    % When the argument of \step is put into a box (as it happens with \parstepwise), tabulators can not go in there. As
+    % we want the equals sign to appear at the same time as the right side of the equation, we use \restep for the
+    % latter. \restep is like \step, but it appears at the same time as the previous \step command.
+    % 
+    \sum_{i=1}^{n} i & \step{=} & \restep{1 + 2 + \cdots + (n-1) + n}\\
+    %
+                     & \step{=} & \restep{1 + n + 2 + (n-1) + \cdots}\\
+    %
+                     & \step{=} & \restep
+                                  {% We can nest \step commands inside each other. The order of execution is just the
+                                   % order of appearance, independent of nesting.
+                                   % \switch is a variant of \step which takes two arguments and toggles between them on
+                                   % activation. This way, we can make the \underbrace `appear'.
+                                   % We insert a \vphantom in the first argument so that the equation numbers will be
+                                   % placed correctly whether or not the underbrace is didplayed.
+                                    \switch
+                                    {%
+                                      \vphantom{\underbrace{(1 + n) + \cdots + (1 + n)}_{\times\frac{n}{2}}}%
+                                      (1 + n) + \cdots + (1 + n)%
+                                      }
+                                    {\underbrace{(1 + n) + \cdots + (1 + n)}_{\times\frac{n}{2}}}%
+                                    }
+                                  \\
+    %
+    % This is another nested application of \step. Note that the spacing of \cdot has to be corrected manually by
+    % inserting {} left of it, because otherwise it would behave like a prefix operator.
+    %
+                     & \step{=} & \restep{\frac{(1 + n)\step{{}\cdot n}}{\restep{2}}}
+  \end{eqnarray}
+}
+
+
+
+
+\end{slide}
+}
+
+% CHANGED: Added \frame, moved \section out
+\section{An array}
+\frame{
+\begin{slide}
+  \centerslidesfalse
+  \frametitle{An array}
+
+\stepwise
+{% With arrays, beware of problems with automatic calculation of cell widths.
+ % 
+ % If you want all widths to be calculated automatically, you need to use \parstepwise, with the consequence that
+ %   a) tabulators or newlines can not go into the argument of \step,
+ %   b) the array `structure' (rules) will be completely visible right from the beginning.
+ %   
+ % If you want to use \stepwise for being able to build the `structure' (like \hilne's) dynamically (as done in the
+ % following), you have to make sure that the cell widths are correct from the very first line, because otherwise the
+ % array will expand horizontally, destroying the dynamic effect. This can be assured by
+ %   a) using only p cells,
+ %   b) making sure all the cells in the first line are at least as wide as the widest cell which will appear later. If
+ %      you are using the calc package, this is easiest by putting \makebox[\widthof{widest entry}]{first entry} into
+ %      the first cell. Otherwise, you can use \settowidth.
+ %      
+  \begin{displaymath}
+    \begin{array}{rrrrr}
+      \step
+      {%
+            n &        \log n        &        n\log n       & \lefteqn{n^2}\phantom{25} & \lefteqn{2^n}\phantom{32} \\
+        \hline%
+        }%
+      \step{0 &} \step{\textrm{---}  &} \step{\textrm{---}  &} \step{0                  &} \step{1                  \\}%
+      \step{1 &} \step{0\phantom{.6} &} \step{0\phantom{.8} &} \step{1                  &} \step{2                  \\}%
+      \step{2 &} \step{1\phantom{.6} &} \step{2\phantom{.8} &} \step{4                  &} \step{4                  \\}%
+      \step{3 &} \step{1.6           &} \step{4.8           &} \step{9                  &} \step{8                  \\}%
+      \step{4 &} \step{2\phantom{.6} &} \step{8\phantom{.8} &} \step{16                 &} \step{16                 \\}%
+      \step{5 &} \step{2.3           &} \step{11.6          &} \step{25                 &} \step{32                   }%
+    \end{array}
+  \end{displaymath}
+}
+
+
+
+
+\end{slide}
+}
+
+% CHANGED: Added \frame, moved \section out
+\section{A picture}
+\frame{
+\begin{slide}
+\centerslidesfalse
+\frametitle{A picture}
+
+\pause
+
+\begin{center}%
+  \stepwise
+  {%
+    \setlength{\unitlength}{1.5\semcm}%
+    \delimitershortfall-1sp% Just for the nested braces
+    \begin{picture}(14,2)
+      \put(0,1){\vector(1,0){1}}
+      \put(0.5,0.5){\makebox(0,0){\small $x(t)$}}
+      \put(13,1){\vector(1,0){1}}
+      \put(13.5,0.5){\makebox(0,0){\small $y(t)$}}
+      \step
+      {
+        \put(1,1){\line(3,2){1.5}}
+        \put(1,1){\line(3,-2){1.5}}
+        \put(2.5,0){\line(0,1){2}}
+        \put(2,1){\makebox(0,0){\large $\varphi$}}
+        }
+      \step
+      {
+        \put(2.5,1){\vector(1,0){3.5}}
+        \put(4.25,0.5){\makebox(0,0){\small $F_t = \varphi\left(x(t)\right)$}}
+        }
+      \step
+      {
+        \put(6,0){\framebox(2,2){\large $\Phi$}}
+        }
+      \step
+      {
+        \put(8,1){\vector(1,0){3.5}}
+        %
+        % Here, we find another nested use of \step inside \step.
+        % \bstep is a variant of \step which _always_ puts its argument into a box for leaving the correct amount of
+        % white space. We cannot use \parstepwise here because \put can't go into a box. Hence, just using \step for
+        % building the nested formula on the next line would give the wrong size for the nested braces.
+        % 
+        \put(9.75,0.5){\makebox(0,0){\footnotesize $G_t = \Phi\left(\bstep{\varphi\left(\bstep{x(t)}\right)}\right)$}}
+        }
+      \step
+      {
+        \put(13,1){\line(-3,2){1.5}}
+        \put(13,1){\line(-3,-2){1.5}}
+        \put(11.5,0){\line(0,1){2}}
+        \put(12,1){\makebox(0,0){\large $\delta$}}
+        }
+    \end{picture}%
+    }%
+\end{center}%
+\end{slide}
+}
+\end{document}

base/multimedia/multimedia.sty

+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+% $Header$
+
+\ProvidesPackage{multimedia}[2004/04/10 ver 0.01]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+
+
+\RequirePackage{keyval}[1997/11/10]
+
+\ifx\pdfoutput\@undefined
+  \newcount\pdfoutput\pdfoutput=0
+\fi
+
+\ifnum\pdfoutput=0
+  \let\mm@psorpdf\@firstoftwo
+  \PassOptionsToPackage{pdfmark}{hyperref}
+  \define@key{PDF}{Movie}{\pdf@addtoks{#1}{Movie}}
+  \define@key{PDF}{T}{\pdf@addtoks{#1}{T}}
+  \define@key{PDF}{Annotations}{\pdf@addtoks{#1}{A}}
+\else
+  \let\mm@psorpdf\@secondoftwo
+\fi
+
+\define@key{multimedia}{automute}[true]{\csname mm@autostop#1\endcsname}
+\define@key{multimedia}{autostart}[true]{\csname mm@autostart#1\endcsname}
+\define@key{multimedia}{bitspersample}{\def\mm@b{/B #1}}
+\define@key{multimedia}{borderwidth}{{\@tempdima=#1\relax\@tempdima=0.99626401\@tempdima\xdef\mm@bw{\strip@pt\@tempdima}}}
+\define@key{multimedia}{channels}{\def\mm@c{/C #1}}
+\define@key{multimedia}{depth}{\@tempdimc=#1\relax}
+\define@key{multimedia}{duration}{\mm@convert#1{\mm@duration}{/Duration}}%
+\define@key{multimedia}{encoding}{\def\mm@e{/E /#1}}
+\define@key{multimedia}{externalviewer}[]{\mm@externaltrue}
+\define@key{multimedia}{height}{\@tempdimb=#1\relax}
+\define@key{multimedia}{inlinesound}[true]{\csname mm@inline#1\endcsname}
+\define@key{multimedia}{label}{\def\mm@label{#1}}
+\define@key{multimedia}{loop}[]{\def\mm@playmode{/Mode /Repeat}\def\mm@repeat{/Repeat true}}
+\define@key{multimedia}{mixsound}[true]{\def\mm@mix{/Mix #1}}
+\define@key{multimedia}{once}[]{\def\mm@playmode{/Mode /Once}}
+\define@key{multimedia}{palindrome}[]{\def\mm@playmode{/Mode /Palindrome}}
+\define@key{multimedia}{pause}[]{\def\mm@do{/Operation /Pause}}
+\define@key{multimedia}{play}[]{\def\mm@do{/Operation /Play}}
+\define@key{multimedia}{poster}[true]{\def\mm@poster{/Poster #1}}
+\define@key{multimedia}{repeat}[]{\def\mm@playmode{/Mode /Repeat}\def\mm@repeat{/Repeat true}}
+\define@key{multimedia}{resume}[]{\def\mm@do{/Operation /Resume}}
+\define@key{multimedia}{samplingrate}{\def\mm@r{/R #1}}
+\define@key{multimedia}{showcontrols}[true]{\def\mm@controls{/ShowControls #1}}
+\define@key{multimedia}{start}{\mm@convert#1{\mm@start}{/Start}}%
+\define@key{multimedia}{stop}[]{\def\mm@do{/Operation /Stop}}
+\define@key{multimedia}{width}{\@tempdima=#1\relax}
+\define@key{multimedia}{open}[]{\def\mm@playmode{/Mode /Open}}
+
+\def\mm@convert#1s{\mm@@convert{#1}}
+\def\mm@@convert#1#2#3{%
+  {\@tempdima=#1pt%
+  \@tempcnta=\@tempdima%
+  \divide\@tempcnta by 512%
+  \xdef#2{#3 [\the\@tempcnta\space 128]}}}
+
+\newif\ifmm@autostart
+\newif\ifmm@autostop
+\newif\ifmm@external
+\newif\ifmm@inline
+\newcount\mm@movie
+
+\newcommand\movie[3][]{%
+  \leavevmode%
+  % Sanity check
+  \IfFileExists{\@currdir #3}{}{%
+    \PackageWarning{multimedia}{The movie file ``#3'' could not be
+      found in the current directory, where it must reside for
+      viewing.}%
+  }%
+  {%
+    % Calculate size of the poster
+    \setbox\@tempboxa=\hbox{#2}%
+    \@tempdima=\wd\@tempboxa%
+    \@tempdimb=\ht\@tempboxa%
+    \@tempdimc=\dp\@tempboxa%
+    \global\advance\mm@movie by1\relax%
+    \edef\mm@label{mmdefaultlabel\the\mm@movie}%
+    \def\mm@playmode{}%
+    \def\mm@duration{}%
+    \def\mm@start{}%
+    \def\mm@poster{}%
+    \def\mm@controls{}%
+    \mm@autostartfalse%
+    \mm@externalfalse%
+    \def\mm@bw{0}%
+    \setkeys{multimedia}{#1}%
+    \wd\@tempboxa=\@tempdima%
+    \ht\@tempboxa=\@tempdimb%
+    \dp\@tempboxa=\@tempdimc%
+    \ifmm@external%
+      \href{run:#3}{\box\@tempboxa}%
+    \else%
+      \mm@psorpdf{%
+        \pdfmark[{\box\@tempboxa}]{%
+          pdfmark=/ANN,%
+          Subtype=/Movie,%
+          Movie=<< /F (#3) \mm@poster\space >>,%
+          Annotations=<< \mm@start\space \mm@duration\space \mm@playmode\space \mm@controls\space>>,%
+          T=(\mm@label),
+          Border={0 0 \mm@bw}}%
+       }{%  
+        \pdfannot width \@tempdima height \@tempdimb depth \@tempdimc
+        {
+          /Subtype /Movie
+          /T (\mm@label)
+          /Border [0 0 \mm@bw]
+          /Movie << /F (#3) \mm@poster\space >>
+          /A << \mm@start\space \mm@duration\space \mm@playmode\space \mm@controls\space >>
+        }%
+      }%
+      \mm@psorpdf{}{\box\@tempboxa}%
+      \ifmm@autostart%
+      \mm@psorpdf%
+      {%
+        \pdfmark{pdfmark=/PUT,%
+           Raw={{ThisPage} << /AA << /O << /S /Movie
+         /T (\mm@label) /Operation /Play >> >> >>}%      
+      }}%
+      {%
+        \pdfobj {<< /S /Movie /T (\mm@label) /Operation /Play >>}%
+        \pdfrefobj\pdflastobj%
+        \xdef\mm@pdfpageadditionalaction{/O \the\pdflastobj\space 0 R }%
+      }%
+      \fi%
+    \fi%
+  }%  
+}
+
+
+\newcommand\hyperlinkmovie[3][]{%
+  \leavevmode%
+  {\def\mm@playmode{}\def\mm@start{}\def\mm@duration{}\def\mm@do{}\def\mm@controls{}%
+  \setkeys{multimedia}{#1}%
+  \mm@psorpdf{%
+    \pdfmark[{#3}]{%
+      Color=\@linkbordercolor,%
+      linktype={link},%
+      AcroHighlight=\@pdfhighlight,%
+      Border=\@pdfborder,%
+      pdfmark=/ANN,%
+      Subtype=/Link,%
+      Annotations=<< /S /Movie /T (#2) \mm@controls\space
+        \mm@do\space \mm@start\space \mm@duration\space \mm@playmode\space
+      >>%
+    }}%
+    {%
+    \pdfstartlink
+    attr{%
+      /Border [\@pdfborder]
+      /H \@pdfhighlight\space
+      /C [\@menubordercolor]%
+    }%
+    user{
+      /Subtype /Link
+      /A <<
+        /S /Movie /T (#2) \mm@controls\space
+        \mm@do\space \mm@start\space \mm@duration\space \mm@playmode\space
+      >>
+    }%
+  #3\pdfendlink}%
+  }%
+}
+
+
+\newcommand\sound[3][]{%
+  \mm@psorpdf{\movie[#1]{#2}{#3}}% no way of defining a stream object...
+  {%
+  \leavevmode%
+  % Sanity check
+  \IfFileExists{\@currdir #3}{}{%
+    \PackageWarning{multimedia}{The movie file ``#3'' could not be
+      found in the current directory, where it must reside for
+      viewing.}%
+  }%
+  {%
+    % Calculate size of the poster
+    \setbox\@tempboxa=\hbox{#2}%
+    \@tempdima=\wd\@tempboxa%
+    \@tempdimb=\ht\@tempboxa%
+    \@tempdimc=\dp\@tempboxa%
+    \def\mm@label{mmdefaultlabel}%
+    \def\mm@playmode{}%
+    \def\mm@duration{}%
+    \def\mm@start{}%
+    \def\mm@repeat{}%
+    \def\mm@mix{/Mix false}%
+    \setkeys{multimedia}{samplingrate=44100,channels=1,bitspersample=16,encoding=muLaw}%
+    \mm@autostartfalse%
+    \mm@autostopfalse%
+    \mm@externalfalse%
+    \mm@inlinefalse%
+    \def\mm@bw{0}%
+    \setkeys{multimedia}{#1}%
+    \wd\@tempboxa=\@tempdima%
+    \ht\@tempboxa=\@tempdimb%
+    \dp\@tempboxa=\@tempdimc%
+    \ifmm@external%
+      \href{run:#3}{\box\@tempboxa}%
+    \else%
+      \ifmm@inline%  
+        \pdfobj stream 
+        attr {/Type /Sound \mm@r\space \mm@c\space \mm@b\space}
+        file {#3}%
+        \pdfrefobj \pdflastobj%
+      \else
+        \pdfobj stream 
+        attr {\mm@r\space \mm@c\space \mm@b\space \mm@e\space /F (#3)}
+        {}%
+        \pdfrefobj \pdflastobj%
+      \fi%        
+      \expandafter\xdef\csname mms@\mm@label\endcsname{\the\pdflastobj}%
+      \def\@temp{#2}\ifx\@temp\@empty\else\hyperlinksound[#1]{\mm@label}{\box\@tempboxa}\fi%
+      \ifmm@autostart%
+        \pdfobj {<< /S /Sound /Sound \the\pdflastobj\space 0 R \mm@mix\space >>}%
+        \pdfrefobj\pdflastobj%
+        \xdef\mm@pdfpageadditionalaction{/O \the\pdflastobj\space 0 R }%
+      \fi%
+      \ifmm@autostop%
+        \pdfobj {<< /S /Sound /Sound \mms@mute\space 0 R >>}%
+        \pdfrefobj\pdflastobj%
+        \xdef\mm@pdfpageadditionalaction{%
+          \ifx\mm@pdfpageadditionalaction\relax\else\mm@pdfpageadditionalaction\fi\space /C \the\pdflastobj\space 0 R }%
+      \fi%
+    \fi%
+  }%
+  }%
+}
+
+\mm@psorpdf{}{%
+  \pdfobj stream attr {/R 22050} {}%
+  \pdfrefobj \pdflastobj%
+  \edef\mms@mute{\the\pdflastobj}
+}
+
+\newcommand\hyperlinkmute[1]{\mm@psorpdf{#1}{\hyperlinksound{mute}{#1}}}
+ 
+\newcommand\hyperlinksound[3][]{%
+  \mm@psorpdf{\hyperlinkmovie[#1]{#2}{#3}}%
+  {%
+  \@ifundefined{mms@#2}%
+  {\PackageError{multimedia}{Sound labeled ``#2'' not defined}{}}
+  {%
+    \leavevmode%
+    \def\mm@mix{/Mix false}%
+    \def\mm@repeat{/Repeat false}%
+    \setkeys{multimedia}{#1}%
+    \pdfstartlink
+    attr{%
+      /Border [\@pdfborder]
+      /H \@pdfhighlight\space
+      /C [\@menubordercolor]%
+    }%
+    user{
+      /Subtype /Link
+      /A << /S /Sound /Sound \csname mms@#2\endcsname\space 0 R \mm@mix\space \mm@repeat\space >>
+    }%
+    #3\pdfendlink}%
+  }%
+}
+
+
+% Copyright Notice: The following code is based on code from hyperref.sty
+\def\mm@pageadditionalaction{%
+  \ifx\mm@pdfpageadditionalaction\relax
+  \else
+    \expandafter\mm@RemoveAAPageAttr\the\pdfpageattr^^J/AA{}>>\END
+    \ifx\mm@pdfpageadditionalaction\@empty
+    \else
+      \edef\@processme{%
+        \global\pdfpageattr{%
+          \the\pdfpageattr
+          ^^J/AA << \mm@pdfpageadditionalaction\space >>%
+        }%
+      }%
+      \@processme
+    \fi
+    \global\let\mm@pdfpageadditionalaction=\@empty% not on next page
+  \fi
+}
+\gdef\mm@RemoveAAPageAttr#1^^J/AA#2#3>>#4\END{%
+  \ifx\\#2\\%
+    \global\pdfpageattr{#1}%
+  \else
+    \mm@RemoveAAPageAttr#1#4\END
+  \fi
+}
+\let\mm@pdfpageadditionalaction=\relax
+
+% This is *not* the way to do it, but it'll have to do for now:
+\let\mm@orighyper@pagetransition=\hyper@pagetransition
+\AtBeginDocument{\def\hyper@pagetransition{\mm@orighyper@pagetransition\mm@pageadditionalaction}}

base/multimedia/multimediasymbols.sty

+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackage{multimediasymbols}[2004/04/10 ver 0.01]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+
+\RequirePackage{keyval}
+\RequirePackage{pgf}
+
+\define@key{multimediasym}{fill}[]{\def\mm@action{\pgfusepath{fill,stroke}}}
+
+\newcommand\speakersymbol[1][]{%
+  \def\mm@action{}%
+  \setkeys{multimediasym}{#1}%
+  \begin{pgfpicture}{-.1ex}{0pt}{2.1ex}{1.5ex}
+    \pgfsetroundjoin
+    \pgfsetroundcap
+    \pgfpathmoveto{\pgfpoint{0cm}{.5ex}}
+    \pgfpathlineto{\pgfpoint{.5ex}{.5ex}}
+    \pgfpathlineto{\pgfpoint{ex}{0pt}}
+    \pgfpathlineto{\pgfpoint{ex}{1.5ex}}
+    \pgfpathlineto{\pgfpoint{.5ex}{ex}}
+    \pgfpathlineto{\pgfpoint{0pt}{ex}}
+    \pgfpathclose
+    \mm@action
+    \pgfpathmoveto{\pgfpoint{1.25ex}{.5ex}}
+    \pgfpathcurveto{\pgfpoint{1.4ex}{.6ex}}{\pgfpoint{1.4ex}{.9ex}}{\pgfpoint{1.25ex}{1ex}}
+    \pgfpathmoveto{\pgfpoint{1.5ex}{.25ex}}
+    \pgfpathcurveto{\pgfpoint{1.7ex}{.5ex}}{\pgfpoint{1.7ex}{1ex}}{\pgfpoint{1.5ex}{1.25ex}}
+    \pgfpathmoveto{\pgfpoint{1.75ex}{0pt}}
+    \pgfpathcurveto{\pgfpoint{2ex}{.25ex}}{\pgfpoint{2ex}{1.25ex}}{\pgfpoint{1.75ex}{1.5ex}}
+    \pgfusepath{stroke}
+  \end{pgfpicture}}

base/multimedia/xmpmulti.sty

+% $Header$
+
+% Copyright 2000 by Klaus Guntermann
+% Copyright 2004 by Till Tantau <tantau@users.sourceforge.net>.
+%
+% This program can be redistributed and/or modified under the terms
+% of the GNU Public License, version 2.
+
+% 
+% Copyright notices: Large parts of this file are identical to the
+% file mpmulti.sty from the ppower4 distribution. Unfortunately, no
+% clear copyright notice is given in the original file nor is even the
+% author indicated. The author appears to be Klaus Guntermann and the
+% license appears to be GPL, at least the whole package is distributed
+% under GPL, so I assume that also applies to the individual
+% files. 
+%
+
+%
+% This file does the same as the original mpmulti.sty. The only
+% differences are that a) the package pause is not loaded (it's
+% provided automatically by beamer and it should be loaded ``by hand''
+% when using ppower4) and b) a default overlay specification can be
+% given (as in \multiinclude[<+->][...]{...}), which will be the
+% argument to an actionenv that is put around each image.
+%
+
+
+%% mpmulti.sty                                     09 Sep 2002
+%%------------------------------------------------------------
+%% History:
+%%   Initial version                               14 Apr 2000
+%%   Introduced keyword parameters                 12 Jun 2000
+%%   Introduced new parameters (start,format), changed the
+%%     global code to take several file counting strings (eg
+%%     bla-*.mps, foo-*.jpg, etc.), added compatibility with
+%%     \graphicspath (Jean-Christophe Dubacq)      06 Dec 2001
+%%   Generalized the format option, added the end
+%%   handling and documented extended features in here
+%%                                                 09 Sep 2002
+%%
+%% Purpose:
+%%     include multiple metapost pictures and overlay them,
+%%     inserting a transition effect between them
+%%
+%% Synopsis:
+%%
+%% \multiinclude[defaultoverlayspecification]%
+%%              [pause=transitioncommand,
+%%               graphics={option for includegraphics},
+%%               format=filenameformat,
+%%               start=number,
+%%               end=number]{basefilename}
+%%
+%%     Include all metapost generated graphics found in
+%%     files with the basename "filename", which
+%%     have a number attached or in the extension.
+%%     Insert the transitioncommand between the files (defaults
+%%     to \pause).
+%%     Further options allow to specify additional specifications
+%%     for includegraphics, can change the number to start with
+%%     (default 0) or the number to end with (default 1000000).
+%%     By default the filenames are as created by mpost in the format
+%%     "filename.n", where "n" represents the number.
+%%     The option format with the values like "mps", "png" or "jpg" this
+%%     can be changed to "filename-n.format", e.g. "example-0.mps"
+%%     instead of "example.0".
+%%     Complaints are only written, if the first file is not found.
+%%     Otherwise including will silently stop.
+%%
+%%     If a defaultoverlayspecification is given, each image is
+%%     surrounded by an actionenv environment (defined by the beamer
+%%     class) with this option as argument. An example usage might be
+%%
+%%     \multiinclude[<alert@+| +->][graphics={height=4cm}]{myimage}
+%%
+%% Requires:
+%%     The keyval package for options processing.
+%%
+%%
+%\RequirePackage{pause}
+\RequirePackage{keyval}
+%%
+%% The command should process the optional arguments.
+%%
+\def\multiinclude{%
+  \def\@mpm@pause{\pause}\def\@mpm@ospec{}\def\@mpm@endospec{}%
+  \@ifnextchar [\@mpmulti{\@@@mpmulti[]}}
+%%
+\newif\if@mpm@groptions\@mpm@groptionsfalse
+%% We describe the keys and their default values
+\define@key{mpm}{format}[\@mpm@defaultformat]{%
+  \global\def\@mpm@format##1{##1-\the\@mpm@count.#1}}
+\define@key{mpm}{start}[0]{\global\def\@mpm@start{#1}\relax}
+\define@key{mpm}{end}[1000000]{\global\def\@mpm@end{#1}\relax}
+\define@key{mpm}{pause}[\pause]{\global\def\@mpm@pause{#1}\relax}
+\define@key{mpm}{graphics}{\@mpm@groptionstrue
+  \global\def\@mpm@graphics{\string#1}}
+\def\@mpm@defaultformat#1{#1.\the\@mpm@count}
+\let\@mpm@format=\@mpm@defaultformat
+%%
+%% We need a local counter
+%%
+\newcount\@mpm@count
+%%
+%% Implement the basic functionality.
+%% Try to include the first file unconditionally.
+%% This will produce an error message, if no such file can be found.
+%% Afterwards we are going to check for more files and stop, when we
+%% do not find another file. As long as we find files, these are
+%% overlapped to the previous parts.
+%%
+\def\@mpmulti[{\@ifnextchar<{\@@mpmulti[}{\@@@mpmulti[}}
+\def\@@mpmulti[#1]{%
+  \def\@mpm@pause{\relax}%
+  \def\@mpm@ospec{\begin{actionenv}#1}%
+  \def\@mpm@endospec{\end{actionenv}}%
+  \@ifnextchar[{\@@@mpmulti}{\@@@mpmulti[]}}
+\def\@@@mpmulti[#1]#2{%
+  %% reset the options 
+  \global\def\@mpm@graphics{}%
+  \global\def\@mpm@start{0}%
+  \global\def\@mpm@end{1000000}%
+  %% get the arguments
+  \setkeys{mpm}{#1}%
+  %% Insert the first part of the figure
+  %% and make sure we look also in other places according to path.
+  \let\@mpm@oldinp@th\input@path\let\input@path\Ginput@path
+  \@mpm@count=\@mpm@start
+  \@mpm@ospec%
+  \if@mpm@groptions%
+  \edef\@mpm@do@include{\noexpand\includegraphics[\@mpm@graphics]{\@mpm@format{#2}}}%
+  \@mpm@do@include%
+  \else%
+  \includegraphics{\@mpm@format{#2}}%
+  \fi%
+  \@mpm@endospec%
+  \def\@mpmdoit{% Do it by conditional tail recursion.
+  %% Select the next filename and advance counter
+  \edef\@mpmfilename{\@mpm@format{#2}}%
+  %% If the file exists,
+  \IfFileExists{\@mpmfilename}{%
+    %% insert the user defined transition (or the default),
+    \@mpm@pause
+    %% then process the next part and set up to try again.
+    \llap{%
+      \@mpm@ospec%
+      \if@mpm@groptions
+      \edef\@mpm@do@include{\noexpand
+        \includegraphics[\@mpm@graphics]{\@mpmfilename}}%
+      \@mpm@do@include
+      \else
+      \includegraphics{\@mpmfilename}%
+      \fi%
+      \@mpm@endospec%
+      }%
+    \ifnum\@mpm@count<\@mpm@end\relax
+      \advance\@mpm@count by 1\relax
+      \let\@mpmnext\@mpmdoit
+    \else
+      \let\@mpmnext\relax
+    \fi
+  }{%
+    %% If no more files exist, set up to stop.
+    \let\@mpmnext\relax
+  }%
+  %% Whatever we had to do (without nesting all the IfFileExists)
+  \@mpmnext
+  }%
+  %% Finally we must start it once, if there is more than one file
+  %% supposed to be available.
+  \ifnum\@mpm@count<\@mpm@end\relax
+    \advance\@mpm@count by 1\relax   % start counting
+    \@mpmdoit % and run the show
+  \fi
+  %% and reset the input path after all
+  \let\input@path\@mpm@oldinp@th
+}%

base/themes/color/beamercolorthemealbatross.sty

+% Copyright 2007 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackageRCS $Header$
+
+
+\setbeamercolor*{normal text}{fg=yellow!50!white,bg=blue!50!black}
+
+\DeclareOption{overlystylish}
+{
+  \def\beamer@cta@do{
+    \setbeamertemplate{background canvas}[vertical shading][bottom=black,top=black,middle=blue!50!black]
+  }
+}
+\ProcessOptions
+
+\@ifundefined{beamer@cta@do}{}{\beamer@cta@do}
+
+\mode<presentation>
+
+\setbeamercolor*{example text}{fg=green!65!black}
+
+\setbeamercolor*{structure}{fg=blue!25!white}
+
+\setbeamercolor{palette primary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!75!black}
+\setbeamercolor{palette secondary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!60!black}
+\setbeamercolor{palette tertiary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!45!black}
+\setbeamercolor{palette quaternary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!30!black}
+
+\setbeamercolor*{block body}{bg=normal text.bg!90!black}
+\setbeamercolor*{block body alerted}{bg=normal text.bg!90!black}
+\setbeamercolor*{block body example}{bg=normal text.bg!90!black}
+\setbeamercolor*{block title}{parent=structure,bg=normal text.bg!75!black}
+\setbeamercolor*{block title alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!black}
+\setbeamercolor*{block title example}{use={normal text,example text},fg=example text.fg!75!normal text.fg,bg=normal text.bg!75!black}
+
+\setbeamercolor{item projected}{fg=black}
+
+\setbeamercolor*{sidebar}{parent=palette primary}
+
+\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg}
+\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg}
+\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
+\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg}
+
+\setbeamercolor*{separation line}{}
+\setbeamercolor*{fine separation line}{}
+
+
+\mode
+<all>

base/themes/color/beamercolorthemebeaver.sty

+% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com>
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\ProvidesPackageRCS $Header$
+
+
+\mode<presentation>
+
+\definecolor{darkred}{rgb}{0.8,0,0}
+
+\setbeamercolor{section in toc}{fg=black,bg=white}
+\setbeamercolor{alerted text}{fg=darkred!80!gray}
+\setbeamercolor*{palette primary}{fg=darkred!60!black,bg=gray!30!white}