summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgfopts
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 18:22:45 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 18:22:45 +0000
commitdc65f9c8d814175c226dc0ce9b26ac776cc51088 (patch)
treef4debeac47578b7ea6f9437576044466c43299ea /Master/texmf-dist/tex/latex/pgfopts
parent4f6e73b15013b1595fea23f062c096a523cebc5e (diff)
pgfopts {v2.1}{2011/06/02}
git-svn-id: svn://tug.org/texlive/trunk@23320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgfopts')
-rw-r--r--Master/texmf-dist/tex/latex/pgfopts/pgfopts.sty16
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