From 859e171a06d2d44bcacd0d623aba2e062d707992 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Thu, 5 Dec 2024 23:33:16 +0800 Subject: [PATCH] feat: add \pgfutil@expanded Signed-off-by: Yukai Chou --- tex/generic/pgf/utilities/pgfutil-context.def | 4 +++- tex/generic/pgf/utilities/pgfutil-latex.def | 4 +++- tex/generic/pgf/utilities/pgfutil-plain.def | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/tex/generic/pgf/utilities/pgfutil-context.def b/tex/generic/pgf/utilities/pgfutil-context.def index 66edb0980..b603f735e 100644 --- a/tex/generic/pgf/utilities/pgfutil-context.def +++ b/tex/generic/pgf/utilities/pgfutil-context.def @@ -374,9 +374,11 @@ \def\pgfutil@translate#1{#1} % \translate works very different in ConTeXt -% e-TeX primitives +% e-TeX primitives and beyond \let\pgfutil@protected\normalprotected \let\pgfutil@unexpanded\normalunexpanded +% the check for the availability of \expanded primitive is done in pgfkeys +\let\pgfutil@expanded\normalexpanded \endinput diff --git a/tex/generic/pgf/utilities/pgfutil-latex.def b/tex/generic/pgf/utilities/pgfutil-latex.def index e88cfb942..94c611b2d 100644 --- a/tex/generic/pgf/utilities/pgfutil-latex.def +++ b/tex/generic/pgf/utilities/pgfutil-latex.def @@ -209,9 +209,11 @@ \def\pgfutil@translate#1{\translate{#1}} \fi -% e-TeX primitives +% e-TeX primitives and beyond \let\pgfutil@protected\protected \let\pgfutil@unexpanded\unexpanded +% the check for the availability of \expanded primitive is done in pgfkeys +\let\pgfutil@expanded\expanded \endinput diff --git a/tex/generic/pgf/utilities/pgfutil-plain.def b/tex/generic/pgf/utilities/pgfutil-plain.def index 2d08c5303..68c6bdb0e 100644 --- a/tex/generic/pgf/utilities/pgfutil-plain.def +++ b/tex/generic/pgf/utilities/pgfutil-plain.def @@ -335,9 +335,11 @@ \def\pgfutil@translate#1{#1} % is there a translator package for plain? -% e-TeX primitives +% e-TeX primitives and beyond \let\pgfutil@protected\protected \let\pgfutil@unexpanded\unexpanded +% the check for the availability of \expanded primitive is done in pgfkeys +\let\pgfutil@expanded\expanded \endinput