diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/standalone/standalone.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/standalone/standalone.cls | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/standalone/standalone.cls b/Master/texmf-dist/tex/latex/standalone/standalone.cls index 46cc44389d2..99682b22ff8 100644 --- a/Master/texmf-dist/tex/latex/standalone/standalone.cls +++ b/Master/texmf-dist/tex/latex/standalone/standalone.cls @@ -25,9 +25,9 @@ %% This work consists of the files standalone.dtx, standalone.ins %% and the derived file standalone.sty. %% -% $Id: standalone.dtx 1704 2010-03-21 19:25:13Z martin $ +% $Id: standalone.dtx 1714 2010-03-22 14:44:37Z martin $ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{standalone} [2010/03/21 v0.1 Class to compile TeX sub-files standalone] +\ProvidesClass{standalone} [2010/03/22 v0.2 Class to compile TeX sub-files standalone] \def\sa@classoptionslist{} \RequirePackage{kvoptions} \SetupKeyvalOptions{prefix=sa@} @@ -36,9 +36,11 @@ \let\endstandalone\relax \def\sa@cls@document{\standalone} \def\sa@cls@enddocument{\endstandalone} +\newif\ifstandalonebeamer \DeclareVoidOption{beamer}{% \def\sa@class{beamer}% \sa@previewfalse + \standalonebeamertrue \newenvironment{standaloneframe}{% \@ifnextchar<% {\@standaloneframe}% @@ -70,16 +72,14 @@ }% } \DeclareStringOption[article]{class} -\DeclareStringOption[]{frameoptions} \DeclareDefaultOption{% \xdef\sa@classoptionslist{\sa@classoptionslist,\CurrentOption}% } -\input{standalone.cfg} \ProcessKeyvalOptions*\relax \let\@classoptionslist\sa@classoptionslist \xdef\@tempa{[\sa@classoptionslist]{\sa@class}} \expandafter\LoadClass\@tempa -\@nameuse{sa@afterclassloaded} +\input{standalone.cfg} \ifsa@preview \@ifundefined{endstandalone}{% \renewenvironment{standalone} |