diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/math-ini.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/math-ini.mkiv | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/math-ini.mkiv b/Master/texmf-dist/tex/context/base/math-ini.mkiv index 72daa83415c..81ec339d658 100644 --- a/Master/texmf-dist/tex/context/base/math-ini.mkiv +++ b/Master/texmf-dist/tex/context/base/math-ini.mkiv @@ -71,6 +71,26 @@ \setnewconstant\defaultmathfamily \zerocount % 255 +\unexpanded\def\resetmathattributes{\ctxcommand{resetmathattributes()}} + +% \unexpanded\def\rawmathcharacter#1% slow but only for tracing +% {\begingroup +% \ifmmode +% \resetmathattributes\Uchar#1% +% \else +% \startimath\resetmathattributes\Uchar#1\stopimath +% \fi +% \endgroup} + +\unexpanded\def\rawmathematics#1% slow but only for tracing + {\begingroup + \ifmmode + \resetmathattributes#1% + \else + \startimath\resetmathattributes#1\stopimath + \fi + \endgroup} + %D Some measures (maybe spac-mth): % \def\mathskipsmall {\mskip\thinmuskip} @@ -594,7 +614,7 @@ ^\bgroup \expandafter\math_prime_indeed_virtual % virtual mess (using funny signal) \else -% \expandafter\math_prime_indeed_normal % gets collapsed + % \expandafter\math_prime_indeed_normal % gets collapsed \expandafter\math_prime_indeed_crapped % gets collapsed \fi} |