File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
tex/generic/pgf/utilities Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1006
1006
\pgfkeys {/handlers/.expand twice/.code=\expandafter\expandafter\expandafter\pgfkeys@exp@call\expandafter\expandafter\expandafter {#1}}
1007
1007
\pgfkeys {/handlers/.expanded/.code=\edef\pgfkeys@temp {#1}\expandafter\pgfkeys@exp@call\expandafter {\pgfkeys@temp }}
1008
1008
1009
- \long\def\pgfkeys@exp@call #1{\pgfkeysalso {\pgfkeyscurrentpath ={#1}}}
1009
+ \long\def\pgfkeys@exp@call #1{%
1010
+ \ifpgfkeysaddeddefaultpath % If the original key was a relative path, do the expanded assignment with a relative path as well.
1011
+ \pgfkeys@pathtoks {}%
1012
+ \expandafter\pgfkeys@splitter\pgfkeyscurrentkeyRAW //% Removes the /.expand* component of the original relative key.
1013
+ \fi
1014
+ \pgfkeysalso {\pgfkeyscurrentpath ={#1}}%
1015
+ }
1010
1016
1011
1017
\def\pgfkeys@mathparse {%
1012
1018
\pgfkeys@ifcsname {pgfmathparse}{%
You can’t perform that action at this time.
0 commit comments