summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-01 22:34:41 +0000
committerKarl Berry <karl@freefriends.org>2020-12-01 22:34:41 +0000
commit23a22fccabf9d7ff4a8e952732372004418dcaa8 (patch)
treefeb8b91d553adc1819b508989720a13e2985da66 /Master/texmf-dist/tex/latex/pgf
parent280555b08eaf2e7e20e719cdd5313a9385cf59d0 (diff)
pgf (1dec20)
git-svn-id: svn://tug.org/texlive/trunk@57043 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf')
-rw-r--r--Master/texmf-dist/tex/latex/pgf/frontendlayer/libraries/tikzlibraryexternal.code.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf/frontendlayer/libraries/tikzlibraryexternal.code.tex b/Master/texmf-dist/tex/latex/pgf/frontendlayer/libraries/tikzlibraryexternal.code.tex
index d609371cd04..3d2e48fa579 100644
--- a/Master/texmf-dist/tex/latex/pgf/frontendlayer/libraries/tikzlibraryexternal.code.tex
+++ b/Master/texmf-dist/tex/latex/pgf/frontendlayer/libraries/tikzlibraryexternal.code.tex
@@ -99,6 +99,12 @@
}%
}%
+% FIXME: See also https://github.com/latex3/latex2e/issues/441
+% for compatibility with the new LaTeX hook management redefine \@currname to
+% force a separate scope
+\let\tikzexternal@currname\@currname
+\def\@currname{tikzlibraryexternal}
+
\AtBeginDocument{%
\pgfutil@ifundefined{tikzexternalrealjob}{%
\global\let\tikzexternalrealjob=\jobname
@@ -106,3 +112,4 @@
\tikzexternal@handle@landscape
}%
+\let\@currname\tikzexternal@currname