summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r--Master/texmf-dist/tex/plain/graphics-pln/color.tex6
-rw-r--r--Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex7
2 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/plain/graphics-pln/color.tex b/Master/texmf-dist/tex/plain/graphics-pln/color.tex
index 9c27d4300e5..538e9e65d34 100644
--- a/Master/texmf-dist/tex/plain/graphics-pln/color.tex
+++ b/Master/texmf-dist/tex/plain/graphics-pln/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/Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex b/Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex
index 4ac9d079775..ada28fa5b64 100644
--- a/Master/texmf-dist/tex/plain/graphics-pln/graphicx.tex
+++ b/Master/texmf-dist/tex/plain/graphics-pln/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