summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/scrn-wid.mklx
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-11-27 20:36:33 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-11-27 20:36:33 +0100
commitf066d60455a53a472fac24abfb210cd6361ffb08 (patch)
treeebb1980d42a4804cc0a19b5f35f9189ab3f6afcd /tex/context/base/mkxl/scrn-wid.mklx
parentb27d13bebb952ac46eb5ee1305f4ad8a7183132c (diff)
downloadcontext-f066d60455a53a472fac24abfb210cd6361ffb08.tar.gz
2020-11-27 20:10:00
Diffstat (limited to 'tex/context/base/mkxl/scrn-wid.mklx')
-rw-r--r--tex/context/base/mkxl/scrn-wid.mklx11
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/scrn-wid.mklx b/tex/context/base/mkxl/scrn-wid.mklx
index 384a60a60..225bdc161 100644
--- a/tex/context/base/mkxl/scrn-wid.mklx
+++ b/tex/context/base/mkxl/scrn-wid.mklx
@@ -94,6 +94,12 @@
\c!depth=\v!fit,
\c!location=\v!high]
+\mutable\let\currentattachmentdepth \empty
+\mutable\let\currentattachmentheight \empty
+\mutable\let\currentattachmentregistered\empty
+\mutable\let\currentattachmentsymbol \empty
+\mutable\let\currentattachmentwidth \empty
+
\permanent\tolerant\protected\def\registerattachment[#tag]#spacer[#settings]% we save (globally) at the lua end
{\ifarguments\else
\begingroup
@@ -397,6 +403,11 @@
\c!buffer=\v!comment,
\c!location=\v!high]
+\mutable\let\currentcommentdepth \empty
+\mutable\let\currentcommentheight\empty
+\mutable\let\currentcommentsymbol\empty
+\mutable\let\currentcommentwidth \empty
+
\appendtoks
\frozen\instance\setuevalue \currentcomment {\scrn_comment_argument[\currentcomment]}%
\frozen\instance\setuevalue{\e!start\currentcomment}{\scrn_comment_start [\currentcomment]}%