summaryrefslogtreecommitdiff
path: root/macros/plain/graphics
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-09-30 03:01:38 +0000
committerNorbert Preining <norbert@preining.info>2022-09-30 03:01:38 +0000
commitd3a49f9b97d78b3719e84b2e704c59f0491190d5 (patch)
treebd50be75a1198c8104d7d3aa428106844ac69ad6 /macros/plain/graphics
parentd7ca45f66f34e5ca724a739f420c99a7c9960a89 (diff)
CTAN sync 202209300301
Diffstat (limited to 'macros/plain/graphics')
-rw-r--r--macros/plain/graphics/README.md3
-rw-r--r--macros/plain/graphics/color.tex4
-rw-r--r--macros/plain/graphics/graphicx.tex4
-rw-r--r--macros/plain/graphics/miniltx.tex5
4 files changed, 7 insertions, 9 deletions
diff --git a/macros/plain/graphics/README.md b/macros/plain/graphics/README.md
index 577bafe437..1695ddece9 100644
--- a/macros/plain/graphics/README.md
+++ b/macros/plain/graphics/README.md
@@ -23,7 +23,8 @@ David Carlisle
2020/10/30
2021/11/15
2022/06/13
-2022/09/27
+2022/09/27
+2022/09/28
Copyright 1995 1996 2016 2017 2018 2020 2021 2022 David Carlisle
diff --git a/macros/plain/graphics/color.tex b/macros/plain/graphics/color.tex
index 538e9e65d3..b185a0e071 100644
--- a/macros/plain/graphics/color.tex
+++ b/macros/plain/graphics/color.tex
@@ -3,9 +3,6 @@
\input miniltx
-% \outer :(
-\let\OUTER@newdimen\newdimen
-\expandafter\def\expandafter\newdimen\expandafter{\newdimen}
\ifx\Gin@driver\@undefined
\ifx\directlua\@undefined
@@ -29,6 +26,5 @@
\input color.sty
-\let\newdimen\OUTER@newdimen
\let\protected\@color@protected
\resetatcatcode
diff --git a/macros/plain/graphics/graphicx.tex b/macros/plain/graphics/graphicx.tex
index ada28fa5b6..460b82ec03 100644
--- a/macros/plain/graphics/graphicx.tex
+++ b/macros/plain/graphics/graphicx.tex
@@ -9,9 +9,6 @@
\let\ttfamily\tt
\fi
-% \outer :(
-\let\OUTER@newdimen\newdimen
-\expandafter\def\expandafter\newdimen\expandafter{\newdimen}
\ifx\Gin@driver\@undefined
\ifx\directlua\@undefined
@@ -40,7 +37,6 @@
\fi
\input graphicx.sty
-\let\newdimen\OUTER@newdimen
\let\detokenize\GRAPHICS@detokenize
\let\protected\GRAPHICS@protected
\resetatcatcode
diff --git a/macros/plain/graphics/miniltx.tex b/macros/plain/graphics/miniltx.tex
index 8a747790bf..6aabb24d42 100644
--- a/macros/plain/graphics/miniltx.tex
+++ b/macros/plain/graphics/miniltx.tex
@@ -30,6 +30,7 @@
% 2021/11/15 Define \@backslashchar for issue #4
% 2022/06/13 Define \@ehd error help (usedby color errors)
% Define fallback \mathcolor so color package does not require expl3
+% 2022/09/28 Make \newdimen non-\outer for nw .def files
\edef\resetatcatcode{\catcode`\noexpand\@\the\catcode`\@\relax}
@@ -548,3 +549,7 @@
\long\def\mlx@mathcolora[#1]#2#3{\color[#1]{#2}#3\endgroup}
\long\def\mlx@mathcolorb#1#2{\color{#1}#2\endgroup}
\fi
+
+% 2022/09/28
+% remove outerness
+\expandafter\def\expandafter\newdimen\expandafter{\newdimen}