diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasearticle.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasearticle.sty | 94 |
1 files changed, 27 insertions, 67 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasearticle.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasearticle.sty index e99c1dbd734..553e960a4b9 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasearticle.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasearticle.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,15 +8,23 @@ % % See the file doc/licenses/LICENSE for more details. -\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasearticle.sty,v 1.27 2007/01/28 20:48:20 tantau Exp $ +\ProvidesPackageRCS $Header: /home/vedran/bitbucket/beamer/base/beamerbasearticle.sty,v 1d6e4de28728 2010/05/09 11:02:15 rivanvx $ +\newif\ifbeamer@articleutf +\beamer@articleutffalse + +\newif\ifbeamer@articlehyperref +\beamer@articlehyperreffalse + \newif\ifbeamer@articlexcolor \beamer@articlexcolortrue \newif\ifbeamer@articleactive \beamer@articleactivefalse +\DeclareOption{utf8}{\beamer@articleutftrue} +\DeclareOption{hyperref}{\beamer@articlehyperreftrue} \DeclareOption{noxcolor}{\beamer@articlexcolorfalse} \DeclareOption{nodefaultblocks}{\beamer@blocksfalse}% obsolete. use notheorems \DeclareOption{notheorems}{\beamer@blocksfalse} @@ -25,74 +34,30 @@ \ProcessOptions -\mode<article> - -\RequirePackage{keyval} - \RequirePackage{beamerbaseoptions} % For option management -\ifbeamer@articlexcolor - \RequirePackage[override]{xcolor} - % For color support +\ifbeamer@articleutf + \RequirePackage[utf8]{inputenc} \fi -\RequirePackage{beamerbasecompatibility} -% Fixes other packages - -\RequirePackage{beamerbasefont} -% Font stuff - -\RequirePackage{beamerbasemisc} -% Miscellaneous commands - -\RequirePackage{beamerbasetwoscreens} -% Stuff for two screens - -\RequirePackage{beamerbaseoverlay} -% Overlay stuff - -\RequirePackage{beamerbasetitle} -% Commands for constructing the title page - -\RequirePackage{beamerbasesection} -% Parts, sections, subsections, appendix - -\RequirePackage{beamerbaseframe} -% Commands for constructing frames - -\RequirePackage{beamerbaseverbatim} -% Commands for constructing frames - -\RequirePackage{beamerbaseframesize} -% Commands for changing the size of frames +\ifbeamer@articlehyperref + \RequirePackage[pdfborder={0 0 0},bookmarksnumbered]{hyperref} + % For hyperlinks -\RequirePackage{beamerbaseframecomponents} -% Headlines, sidebars, columns - -\RequirePackage{beamerbasecolor} -% Headlines, sidebars, columns - -\RequirePackage{beamerbasenotes} -% Commands for constructing frames - -\RequirePackage{beamerbasetoc} -% Table of Contents Format - -\RequirePackage{beamerbasetemplates} -% For default templates - -\RequirePackage{beamerbaselocalstructure} -% Commands for local structure like alert, itemize, etc. - -\RequirePackage{beamerbasenavigation} -% Navigation buttons + \hypersetup{pdfcreator={LaTeX with beamer class version \beamer@version\space (article mode)}} + \ifbeamer@articleutf + \hypersetup{unicode=true} + \fi +\fi -\RequirePackage{beamerbasetheorems} -% Theorems +\ifbeamer@articlexcolor + \RequirePackage[override]{xcolor} + % For color support +\fi -\RequirePackage{beamerbasethemes} -% Commands for including and building themes +\RequirePackage{beamerbaserequires} +% Beamer packages required both by presentation and article modes % Default article templates: @@ -115,8 +80,3 @@ \mode <all> - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: ../examples/beamerexample1.tex -%%% End: |