diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgfopts')
-rw-r--r-- | Master/texmf-dist/tex/latex/pgfopts/pgfopts.sty | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/pgfopts/pgfopts.sty b/Master/texmf-dist/tex/latex/pgfopts/pgfopts.sty index cd20c898a73..67cfa79f964 100644 --- a/Master/texmf-dist/tex/latex/pgfopts/pgfopts.sty +++ b/Master/texmf-dist/tex/latex/pgfopts/pgfopts.sty @@ -13,7 +13,7 @@ %% ---------------------------------------------------------------- %% \ProvidesClass{pgfopts} - [2010/05/01 v2.0 LaTeX package options with pgfkeys] + [2011/06/02 v2.1 LaTeX package options with pgfkeys] \RequirePackage{pgfkeys} \newif\ifpgfopts@process@class \newcommand*\pgfopts@options@clist{} @@ -63,8 +63,8 @@ \@ifundefined{opt@\@currname.\@currext}% {\endgroup}% {% - \toks@\expandafter\expandafter\expandafter - {\csname opt@\@currname.\@currext\endcsname}% + \toks@\expandafter\expandafter\expandafter + {\csname opt@\@currname.\@currext\endcsname}% \expandafter\endgroup \expandafter\def\expandafter\pgfopts@local@options \expandafter{\the\toks@}% @@ -96,7 +96,13 @@ \expandafter\def\expandafter\pgfopts@options@execute \expandafter{\pgfopts@options@execute}% } -\newcommand*\pgfopts@process@local@options@class{% +\newcommand*\pgfopts@process@local@options@class + {% + \pgfkeysifdefined{\pgfopts@key@path .unknown/.@cmd}% + {\pgfopts@list@add\pgfopts@options@clist\@classoptionslist} + {\pgfopts@process@local@options@class@aux}% + } +\newcommand*\pgfopts@process@local@options@class@aux{% \@for\pgfopts@current@option:=\pgfopts@local@options\do{% \pgfkeysifdefined {% @@ -155,7 +161,7 @@ \@onlypreamble\ProcessPgfOptions \@onlypreamble\ProcessPgfPackageOptions %% -%% Copyright (C) 2008,2010 by +%% Copyright (C) 2008-2011 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% %% It may be distributed and/or modified under the conditions of |