summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/supp-box.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/supp-box.mkxl')
-rw-r--r--tex/context/base/mkxl/supp-box.mkxl10
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/supp-box.mkxl b/tex/context/base/mkxl/supp-box.mkxl
index b8d6e86e4..3f8739c42 100644
--- a/tex/context/base/mkxl/supp-box.mkxl
+++ b/tex/context/base/mkxl/supp-box.mkxl
@@ -556,6 +556,8 @@
%D In this implementation the \type {\aftergroup} construction is needed because
%D \type {\afterassignment} is executed inside the box.
+\let\syst_boxes_with_next_box\relax
+
\permanent\protected\def\dowithnextbox#1%
{\def\syst_boxes_with_next_box{#1}%
\afterassignment\syst_boxes_with_next_box_indeed
@@ -639,6 +641,9 @@
% \let\syst_boxes_with_next_box_two#1%
% \afterassignment\syst_boxes_with_next_box_content_indeed
% \setbox\nextbox}
+%
+% \def\syst_boxes_with_next_box_content_indeed
+% {\syst_boxes_with_next_box_two\aftergroup\syst_boxes_with_next_box_one}
\permanent\protected\def\dowithnextboxcontent#1#2% inside, after
{\afterassigned{#1\aftergrouped{#2}}%
@@ -648,9 +653,6 @@
{\afterassigned{#1\aftergroup#2}%
\setbox\nextbox}
-\def\syst_boxes_with_next_box_content_indeed
- {\syst_boxes_with_next_box_two\aftergroup\syst_boxes_with_next_box_one}
-
%D \macros
%D {llap, rlap, tlap, blap, clap}
%D
@@ -1853,6 +1855,8 @@
\newbox\processbox % public : this is the one where \nextbox's end up in
+\let\syst_boxes_process_indeed\relax
+
\permanent\protected\def\processboxes#1%
{\bgroup
\def\syst_boxes_process_indeed{#1}% #1 can be redefined halfway