diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-pgfkeys.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/interfaces/interfaces-pgfkeys.sty | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-pgfkeys.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-pgfkeys.sty index 48525dac301..af63b5662b4 100644 --- a/Master/texmf-dist/tex/latex/interfaces/interfaces-pgfkeys.sty +++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-pgfkeys.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% interfaces : 2010/12/27 v2.6 - interfaces : interfaces with keys for other packages (FC) +%% interfaces : 2011/01/17 v2.8 - interfaces : interfaces with keys for other packages (FC) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -21,7 +21,6 @@ %% interfaces.sty, interfaces.pdf, interfaces.ins, %% interfaces-base.sty, %% interfaces-LaTeX.sty, -%% interfaces-graphics.sty, %% interfaces-tikz.sty, %% interfaces-titlesec.sty, %% interfaces-hyperref.sty, @@ -44,8 +43,9 @@ %% interfaces: interfaces with keys for other packages (FC) %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %% +\let\CTANLinks=y \ProvidesPackage{interfaces-pgfkeys} - [2010/12/27 v2.6 pgfkeys handlers definitions (FC)] + [2011/01/17 v2.8 pgfkeys handlers definitions (FC)] \RequirePackage{interfaces-base} \ifdefined\pgfkeys@ifexecutehandler % pgf version 2.1 \def\itf@pgfkeys{% @@ -416,6 +416,24 @@ /handlers/.store in counter cs/.value required,% }% /.store in counter cs \pgfkeys{% + /handlers/.store in count cs/.code={% + \pgfkeysdef\pgfkeyscurrentpath{% + \ifx\pgfkeyscurrentvalue\pgfkeysnovalue@text + \else\csname#1\endcsname\numexpr##1\relax\fi}% + \pgfkeyslet{\pgfkeyscurrentpath/.@blank}\z@ + \@tfor\x:=+-*\do{% + \pgfkeysedef{\pgfkeyscurrentpath\x}{% + \noexpand\pgfkeysalso{\pgfkeyscurrentpath=% + \noexpand\csname\noexpand\ifcsname#1\endcsname + #1\noexpand\else\if*\x @ne\else z@\fi\noexpand\fi\endcsname + \x + \numexpr##1\relax}}% + \pgfkeysEsetvalue{\pgfkeyscurrentpath\x/.@def}{\if*\x\@ne\else\z@\fi}% + \pgfkeysEsetvalue{\pgfkeyscurrentpath\x/.@blank}{\if*\@ne\else\z@\fi}% + }},% + /handlers/.store in count cs/.value required,% +}% /.store in count cs +\pgfkeys{% /handlers/.store as glue/.code={% \pgfkeysedef\pgfkeyscurrentpath{% \noexpand\pgfkeyssetvalue{\pgfkeyscurrentpath}{\glueexpr##1\relax}}% |