% Copyright 2003--2007 by Till Tantau
% Copyright 2010 by Vedran Mileti\'c
% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright
% Copyright 2016 by Joseph Wright
% Copyright 2017,2018 by Louis Stuart, Joseph Wright
%
% 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{beamerarticle}
  [2021/03/19 v3.62 beamer input in article mode]

% Setup modes and check for article option
% Also loads packages required by both beamer and beamerarticle
\RequirePackage{beamerbasemodes}

\DeclareOption{utf8}{\PassOptionsToPackage{utf8}{beamerbasearticle}}
\DeclareOption{hyperref}{\PassOptionsToPackage{hyperref}{beamerbasearticle}}
\DeclareOption{noxcolor}{\PassOptionsToPackage{noxcolor}{beamerbasearticle}}
\DeclareOption{notheorems}{\PassOptionsToPackage{notheorems}{beamerbasearticle}}
\DeclareOption{noamsthm}{\PassOptionsToPackage{noamsthm}{beamerbasearticle}}
\DeclareOption{noamssymb}{\PassOptionsToPackage{noamssymb}{beamerbasearticle}}
\DeclareOption{envcountsect}{\PassOptionsToPackage{envcountsect}{beamerbasearticle}}
\DeclareOption{activeospeccharacters}{\PassOptionsToPackage{activeospeccharacters}{beamerbasearticle}}
\DeclareOption{nokeywords}{\PassOptionsToPackage{nokeywords}{beamerbasearticle}}

\ProcessOptions\relax

\def\beamer@slide#1#2{\expandafter\gdef\csname beamer@slide#1\endcsname{#2}}
\beamer@inpresentationfalse

\ifx\beamer@currentmode\@undefined
  \def\beamer@currentmode{article}
\fi

\mode
<all>

\RequirePackage{beamerbasearticle}
