summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-15 20:36:08 +0000
committerKarl Berry <karl@freefriends.org>2021-05-15 20:36:08 +0000
commit544b3afa0b563118bfa9a64d8ab468ee47c1fbd2 (patch)
tree5daa86acec73defb207aefe148404f0131e08e45 /Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
parentbf129e8b52e880fb8fdf9d68afd6995df3f225ed (diff)
pgf (15may21)
git-svn-id: svn://tug.org/texlive/trunk@59210 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex16
1 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex b/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
index db89141aca1..184506a1851 100644
--- a/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
@@ -45,6 +45,17 @@
\csname @@end\expandafter\endcsname\expandafter\end%
\fi
+% e-TeX primitives and beyond
+
+\ifx\contextversion\undefined
+ \let\pgfkeys@expanded \expanded
+ \let\pgfkeys@unexpanded \unexpanded
+\else
+ \let\pgfkeys@expanded \normalexpanded
+ \let\pgfkeys@unexpanded \normalunexpanded
+\fi
+
+
% Set a key to a value
%
% #1 = key
@@ -74,9 +85,8 @@
}
\long\def\pgfkeyssetevalue#1#2{%
- \edef\pgfkeys@temp##1##2##3##4##5##6##7##8##9{#2}%
- \pgfkeys@temptoks=\expandafter{\pgfkeys@temp{##1}{##2}{##3}{##4}{##5}{##6}{##7}{##8}{##9}}%
- \expandafter\edef\csname pgfk@#1\endcsname{\the\pgfkeys@temptoks}%
+ \expandafter\edef\csname pgfk@#1\endcsname
+ {\pgfkeys@unexpanded\expandafter{\pgfkeys@expanded{#2}}}%
}
% Add text to a key at the end