Skip to content

Commit

Permalink
feat: add \pgfutil@expanded
Browse files Browse the repository at this point in the history
Signed-off-by: Yukai Chou <[email protected]>
  • Loading branch information
muzimuzhi committed Dec 5, 2024
1 parent 054f118 commit 859e171
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tex/generic/pgf/utilities/pgfutil-context.def
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion tex/generic/pgf/utilities/pgfutil-latex.def
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion tex/generic/pgf/utilities/pgfutil-plain.def
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 859e171

Please sign in to comment.