diff options
Diffstat (limited to 'tex/context/base/mkiv/math-ini.mkxl')
-rw-r--r-- | tex/context/base/mkiv/math-ini.mkxl | 4 |
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} |