summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-del.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-10-28 20:03:50 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-10-28 20:03:50 +0100
commitf58a2cb5d22c5931581274db1f0ec85ac903b747 (patch)
treeba324713b8c0f2ee9465238d3cf867de3fb41dc5 /tex/context/base/mkiv/typo-del.mkiv
parent24f6f7de245bdff10f21984a9a3c6af3d31fa1f1 (diff)
downloadcontext-f58a2cb5d22c5931581274db1f0ec85ac903b747.tar.gz
2019-10-28 18:22:00
Diffstat (limited to 'tex/context/base/mkiv/typo-del.mkiv')
-rw-r--r--tex/context/base/mkiv/typo-del.mkiv15
1 files changed, 11 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/typo-del.mkiv b/tex/context/base/mkiv/typo-del.mkiv
index 2ce98841e..9320c37ee 100644
--- a/tex/context/base/mkiv/typo-del.mkiv
+++ b/tex/context/base/mkiv/typo-del.mkiv
@@ -674,22 +674,29 @@
\dostoptagged}
\def\typo_delimited_nextleft_symbol#1%
- {\localleftbox\bgroup
+ {\let\typo_delimited_reset_next_symbol\typo_delimited_reset_next_symbol_indeed
+ \localleftbox\bgroup
\swapmacros\leftboundarycharacter\rightboundarycharacter
\boundarycharactermode\plusone
\typo_delimited_left_symbol#1%
\egroup}
\def\typo_delimited_nextright_symbol#1%
- {\localrightbox\bgroup
+ {\let\typo_delimited_reset_next_symbol\typo_delimited_reset_next_symbol_indeed
+ \localrightbox\bgroup
\swapmacros\leftboundarycharacter\rightboundarycharacter
\boundarycharactermode\plusone
\typo_delimited_right_symbol#1%
\egroup}
+\unexpanded\def\typo_delimited_reset_next_symbol_indeed
+ {\localleftbox {}%
+ \localrightbox{}}%
+
+\let\typo_delimited_reset_next_symbol\relax
+
\appendtoks
- \localleftbox {}%
- \localrightbox{}%
+ \typo_delimited_reset_next_symbol
\to \everyforgetall
% \starttext