summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/spac-hor.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2023-04-27 00:04:07 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2023-04-27 00:04:07 +0200
commit6b25a7a970ba9553adf8077ef2eecb50a5d77818 (patch)
treef06e40077ba9e55af4bf6cab52313f79f8ea84a8 /tex/context/base/mkxl/spac-hor.mkxl
parent657457ef4a08c1f000f272e00f654f4064cc37bd (diff)
downloadcontext-6b25a7a970ba9553adf8077ef2eecb50a5d77818.tar.gz
2023-04-26 23:31:00
Diffstat (limited to 'tex/context/base/mkxl/spac-hor.mkxl')
-rw-r--r--tex/context/base/mkxl/spac-hor.mkxl10
1 files changed, 8 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/spac-hor.mkxl b/tex/context/base/mkxl/spac-hor.mkxl
index 3c4fd1eb4..ab15e7a6e 100644
--- a/tex/context/base/mkxl/spac-hor.mkxl
+++ b/tex/context/base/mkxl/spac-hor.mkxl
@@ -269,9 +269,15 @@
\aliased\let\dorechecknextindentation\relax % public (in macros)
-\permanent\protected\protected\def\spac_indentation_check_next_indentation
+% \permanent\protected\def\spac_indentation_check_next_indentation
+% {\global\enforced\let\dorechecknextindentation\relax
+% \doifelsenextchar\par\donothing\spac_indentation_variant_no} % messy check as next is seldom \par
+
+\permanent\protected\def\spac_indentation_check_next_indentation
{\global\enforced\let\dorechecknextindentation\relax
- \doifelsenextchar\par\donothing\spac_indentation_variant_no} % messy check as next is seldom \par
+ \begingroup
+ \autoparagraphmode\zerocount
+ \doifelsenextchar\par\endgroup{\endgroup\spac_indentation_variant_no}} % messy check as next is seldom \par
\def\spac_indentation_variant_auto
{\global\enforced\let\dorechecknextindentation\spac_indentation_check_next_indentation}