Skip to content

Commit

Permalink
fix: guard against LuaMetaTeX's changed \meaning
Browse files Browse the repository at this point in the history
Fixes #1193

Co-authored-by: Leah Neukirchen <leah@vuxu.org>
  • Loading branch information
hmenke and leahneukirchen committed Sep 23, 2022
1 parent 89a9ef1 commit 0280303
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,8 @@
}%
\def\tikzlibignorecomparisonsINTERNAL{%
\pgfkeys{/handlers/first char syntax=true}
\pgfkeyssetvalue{/handlers/first char syntax/the character >}{\pgfutil@gobble}%
\pgfkeyssetvalue{/handlers/first char syntax/the character <}{\pgfutil@gobble}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string>}{\pgfutil@gobble}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string<}{\pgfutil@gobble}%
}%
\def\tikz@lib@layout@node@options@prefix{graphs/.cd,}%
Expand All @@ -1222,8 +1222,8 @@
\def\tikz@lib@activate@source@target@edge@syntax{%
\pgfkeys{/handlers/first char syntax=true}
\pgfkeyssetvalue{/handlers/first char syntax/the character >}{\tikz@lg@parse@more}%
\pgfkeyssetvalue{/handlers/first char syntax/the character <}{\tikz@lg@parse@less}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string>}{\tikz@lg@parse@more}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string<}{\tikz@lg@parse@less}%
}%
\def\tikz@lg@parse@less#1{\tikz@lg@parse@less@#1\pgf@stop}%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
\tikzanimateset{
.code={
\pgfkeys{/handlers/first char syntax=true}
\pgfkeyssetvalue{/handlers/first char syntax/the character "}{\tikz@animation@value}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string"}{\tikz@animation@value}%
\def\tikz@anim@t{0}%
\def\tikz@anim@t@base{0}%
\def\tikz@anim@t@current{0}%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
\pgfkeys{/handlers/first char syntax=true}%

\def\tikz@enable@node@quotes{%
\pgfkeyssetvalue{/handlers/first char syntax/the character "}{\tikz@quote@parser}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string"}{\tikz@quote@parser}%
\let\tikz@quotes@as\tikz@node@quotes@as%
}%
\def\tikz@enable@edge@quotes{%
\pgfkeyssetvalue{/handlers/first char syntax/the character "}{\tikz@quote@parser}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string"}{\tikz@quote@parser}%
\let\tikz@quotes@as\tikz@edge@quotes@as%
}%
\def\tikz@enable@pic@quotes{%
\pgfkeyssetvalue{/handlers/first char syntax/the character "}{\tikz@quote@parser}%
\pgfkeyssetvalue{/handlers/first char syntax/\expandafter\meaning\string"}{\tikz@quote@parser}%
\let\tikz@quotes@as\tikz@pic@quotes@as%
}%

Expand Down

0 comments on commit 0280303

Please sign in to comment.