summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/back-ext.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/back-ext.mkxl')
-rw-r--r--tex/context/base/mkxl/back-ext.mkxl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/back-ext.mkxl b/tex/context/base/mkxl/back-ext.mkxl
index bba33335d..a3d9d2633 100644
--- a/tex/context/base/mkxl/back-ext.mkxl
+++ b/tex/context/base/mkxl/back-ext.mkxl
@@ -84,4 +84,12 @@
\permanent\protected\def\dostopclipping
{\clf_stopclipping}
+%D This wrapper is needed when you use code that messes with e.g. local color
+%D directives, invisible for the rest of the machinery. It's only needed in very
+%D special cases, like around the above scaler directives:
+
+\permanent\protected\edef\hcontainer{\hpack \s!direction\directionlefttoright \s!container\space}
+\permanent\protected\edef\vcontainer{\vpack \s!direction\directionlefttoright \s!container\space}
+\permanent\protected\edef\tcontainer{\tpack \s!direction\directionlefttoright \s!container\space}
+
\protect \endinput