summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/typo-lbx.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-11-16 22:58:54 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-11-16 22:58:54 +0100
commit91379fa891f786d5e25909680b0d62933e581bd0 (patch)
tree87bdc4487eb0899ee13808dc509bd9a84c88859c /tex/context/base/mkxl/typo-lbx.mkxl
parenta1b3f047bf4bc1043366fc8556099cda37e83dab (diff)
downloadcontext-91379fa891f786d5e25909680b0d62933e581bd0.tar.gz
2021-11-16 22:35:00
Diffstat (limited to 'tex/context/base/mkxl/typo-lbx.mkxl')
-rw-r--r--tex/context/base/mkxl/typo-lbx.mkxl10
1 files changed, 6 insertions, 4 deletions
diff --git a/tex/context/base/mkxl/typo-lbx.mkxl b/tex/context/base/mkxl/typo-lbx.mkxl
index bf296dac4..61060362d 100644
--- a/tex/context/base/mkxl/typo-lbx.mkxl
+++ b/tex/context/base/mkxl/typo-lbx.mkxl
@@ -74,11 +74,13 @@
%D Todo: reserve index 1 for this:
-\def\typo_paragraphs_l#1{\localleftbox \ifcstok{#1}\v!global par\fi}
-\def\typo_paragraphs_r#1{\localrightbox\ifcstok{#1}\v!global par\fi}
+\def\typo_paragraphs_l#1{\localleftbox \ifcstok{#1}\v!global par\fi}
+\def\typo_paragraphs_r#1{\localrightbox \ifcstok{#1}\v!global par\fi}
+\def\typo_paragraphs_m#1{\localmiddlebox\ifcstok{#1}\v!global par\fi}
-\permanent\tolerant\protected\def\leftparbox [#1]{\typo_paragraphs_l{#1}\bgroup\enforced\let\leftparbox \relax\let\next}
-\permanent\tolerant\protected\def\rightparbox[#1]{\typo_paragraphs_r{#1}\bgroup\enforced\let\rightparbox\relax\let\next}
+\permanent\tolerant\protected\def\leftparbox [#1]{\typo_paragraphs_l{#1}\bgroup\enforced\let\leftparbox \relax\let\next}
+\permanent\tolerant\protected\def\rightparbox [#1]{\typo_paragraphs_r{#1}\bgroup\enforced\let\rightparbox\relax\let\next}
+\permanent\tolerant\protected\def\middleparbox[#1]{\typo_paragraphs_m{#1}\bgroup\enforced\let\rightparbox\relax\let\next}
% called back: