From f066d60455a53a472fac24abfb210cd6361ffb08 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 27 Nov 2020 20:36:33 +0100 Subject: 2020-11-27 20:10:00 --- tex/context/base/mkxl/scrn-wid.mklx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tex/context/base/mkxl/scrn-wid.mklx') 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]}% -- cgit v1.2.3