summaryrefslogtreecommitdiff
path: root/tex/context/base/supp-fil.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/supp-fil.mkiv')
-rw-r--r--tex/context/base/supp-fil.mkiv2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/supp-fil.mkiv b/tex/context/base/supp-fil.mkiv
index 555d1240a..6b9af21ce 100644
--- a/tex/context/base/supp-fil.mkiv
+++ b/tex/context/base/supp-fil.mkiv
@@ -412,10 +412,12 @@
{\global\advance\readingfilelevel\plusone
\the\everystartreadingfile
\pushcatcodetable % saveguard
+ \ctxlua{regimes.push()}% temporarily this way
}% \setcatcodetable\prtcatcodes % no longer in mkiv, has to be done explictly
\unexpanded\def\stopreadingfile
{\popcatcodetable % saveguard
+ \ctxlua{regimes.pop()}% temporarily this way
\the\everystopreadingfile
\global\advance\readingfilelevel\minusone}