summaryrefslogtreecommitdiff
path: root/tex/context/base/core-job.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-job.mkiv')
-rw-r--r--tex/context/base/core-job.mkiv9
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/context/base/core-job.mkiv b/tex/context/base/core-job.mkiv
index cdb1564f4..84877eb3f 100644
--- a/tex/context/base/core-job.mkiv
+++ b/tex/context/base/core-job.mkiv
@@ -146,6 +146,15 @@
\expandafter\finalend
\fi}
+\let\autostoptext\relax
+
+\def\autostarttext
+ {\ifcase\textlevel
+ \starttext
+ \writestatus\m!systems{auto \string\starttext..\string\stoptext}%
+ \let\autostoptext\stoptext
+ \fi}
+
\def\finalend
{\ifnum\textlevel>\zerocount \else
\the\everybye