summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/standalone/standalone.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-22 23:38:02 +0000
committerKarl Berry <karl@freefriends.org>2010-03-22 23:38:02 +0000
commitd27985a2ea5b8b0690397545661dea20ebf1f6a7 (patch)
tree5487c9f0fdb7f48adbbe62afded8c31c3db8151d /Master/texmf-dist/tex/latex/standalone/standalone.cls
parent3c0cf125d1f03a951969d0a9fa45d53e61674547 (diff)
standalone update (22mar10)
git-svn-id: svn://tug.org/texlive/trunk@17532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/standalone/standalone.cls')
-rw-r--r--Master/texmf-dist/tex/latex/standalone/standalone.cls10
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}