summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-ini.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-06-12 18:46:32 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-06-12 18:46:32 +0200
commit2686f6014d16c6a1d059ebe579894f804a5b3c4c (patch)
tree66a904a7d3c63dcbf3e756796d6ac07b4841bc11 /tex/context/base/mkiv/math-ini.mkxl
parent8fb5c26bd2f15104a6db9945299d3ca2c75db2d6 (diff)
downloadcontext-2686f6014d16c6a1d059ebe579894f804a5b3c4c.tar.gz
2020-06-12 17:42:00
Diffstat (limited to 'tex/context/base/mkiv/math-ini.mkxl')
-rw-r--r--tex/context/base/mkiv/math-ini.mkxl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/math-ini.mkxl b/tex/context/base/mkiv/math-ini.mkxl
index 41b4e5d53..910337e22 100644
--- a/tex/context/base/mkiv/math-ini.mkxl
+++ b/tex/context/base/mkiv/math-ini.mkxl
@@ -1652,6 +1652,8 @@
\setnewconstant\c_math_semicolon"003B
\setnewconstant\c_math_special "8000
+% todo: use \Umathclass\c_math_comma\mathpunctcode etc for temporary switching
+
\def\math_set_o_comma {\Umathcode\c_math_comma \mathordcode \zerocount\c_math_comma}
\def\math_set_p_comma {\Umathcode\c_math_comma \mathpunctcode\zerocount\c_math_comma}
\def\math_set_o_period {\Umathcode\c_math_period \mathordcode \zerocount\c_math_period}
@@ -1666,6 +1668,8 @@
\unexpanded\def\math_punctuation_nop_period {\begingroup\math_set_o_period .\endgroup}
\unexpanded\def\math_punctuation_nop_semicolon{\begingroup\math_set_p_semicolon;\endgroup}
+% todo: use new lookahead stuff
+
\unexpanded\def\math_punctuation_all_comma {\futurelet\nexttoken\math_punctuation_comma_next}
\unexpanded\def\math_punctuation_all_period {\futurelet\nexttoken\math_punctuation_period_next}
\unexpanded\def\math_punctuation_all_semicolon{\futurelet\nexttoken\math_punctuation_semicolon_next}