summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/math-ini.mkiv
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-06-23 23:38:05 +0000
committerKarl Berry <karl@freefriends.org>2013-06-23 23:38:05 +0000
commit60f28f85f2707b6a48c3b5aec0ea68b8ee21e466 (patch)
treeab34d8d573457bea6a804ee3d5de48dd500bf028 /Master/texmf-dist/tex/context/base/math-ini.mkiv
parentac5882d0cb115e11b5cc2e62107ef5822f3507f5 (diff)
context
git-svn-id: svn://tug.org/texlive/trunk@30865 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/math-ini.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/math-ini.mkiv22
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}