summaryrefslogtreecommitdiff
path: root/macros/plain/graphics/color.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/plain/graphics/color.tex')
-rw-r--r--macros/plain/graphics/color.tex6
1 files changed, 4 insertions, 2 deletions
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