summaryrefslogtreecommitdiff
path: root/macros/plain
diff options
context:
space:
mode:
Diffstat (limited to 'macros/plain')
-rw-r--r--macros/plain/graphics/README.md3
-rw-r--r--macros/plain/graphics/color.tex6
-rw-r--r--macros/plain/graphics/graphicx.tex7
3 files changed, 13 insertions, 3 deletions
diff --git a/macros/plain/graphics/README.md b/macros/plain/graphics/README.md
index 2b2086cdd7..577bafe437 100644
--- a/macros/plain/graphics/README.md
+++ b/macros/plain/graphics/README.md
@@ -22,7 +22,8 @@ David Carlisle
2020/03/02
2020/10/30
2021/11/15
-2022/06/13
+2022/06/13
+2022/09/27
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 9c27d4300e..538e9e65d3 100644
--- a/macros/plain/graphics/color.tex
+++ b/macros/plain/graphics/color.tex
@@ -3,7 +3,9 @@
\input miniltx
-
+% \outer :(
+\let\OUTER@newdimen\newdimen
+\expandafter\def\expandafter\newdimen\expandafter{\newdimen}
\ifx\Gin@driver\@undefined
\ifx\directlua\@undefined
@@ -22,11 +24,11 @@
\fi
-
\let\@color@protected\protected
\expandafter\@gobble\csname protected\endcsname
\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 4ac9d07977..ada28fa5b6 100644
--- a/macros/plain/graphics/graphicx.tex
+++ b/macros/plain/graphics/graphicx.tex
@@ -9,6 +9,10 @@
\let\ttfamily\tt
\fi
+% \outer :(
+\let\OUTER@newdimen\newdimen
+\expandafter\def\expandafter\newdimen\expandafter{\newdimen}
+
\ifx\Gin@driver\@undefined
\ifx\directlua\@undefined
\ifx\pdfoutput\@undefined
@@ -25,6 +29,7 @@
\fi
\fi
+
\let\GRAPHICS@detokenize\detokenize
\ifx\detokenize\@undefined
\def\detokenize#1{#1}
@@ -34,6 +39,8 @@
\let\protected\relax
\fi
\input graphicx.sty
+
+\let\newdimen\OUTER@newdimen
\let\detokenize\GRAPHICS@detokenize
\let\protected\GRAPHICS@protected
\resetatcatcode