summaryrefslogtreecommitdiff
path: root/tex/context/base/math-ini.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-01-02 17:15:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-01-02 17:15:00 +0100
commit0b773dc1a75bfeab65367bc07de0ad574fd97b90 (patch)
treea8b544ecb54414efca7e241bfbfad338f9f0dc28 /tex/context/base/math-ini.mkiv
parent58f3f55b58d34d4a4b70a6099a81296b862e6d9f (diff)
downloadcontext-0b773dc1a75bfeab65367bc07de0ad574fd97b90.tar.gz
beta 2013.01.02 17:15
Diffstat (limited to 'tex/context/base/math-ini.mkiv')
-rw-r--r--tex/context/base/math-ini.mkiv16
1 files changed, 14 insertions, 2 deletions
diff --git a/tex/context/base/math-ini.mkiv b/tex/context/base/math-ini.mkiv
index 1e78ff492..58650595f 100644
--- a/tex/context/base/math-ini.mkiv
+++ b/tex/context/base/math-ini.mkiv
@@ -1161,9 +1161,13 @@
\let\m_math_text_choice_face \relax
-\def\math_text_choice#1% if needed we can get rid of the normalize (predo in font code)
+% \def\math_text_choice#1% if needed we can get rid of the normalize (predo in font code)
+% {\normalizebodyfontsize\m_math_text_choice_face{\mathstyleface\normalmathstyle}%
+% \hbox{\font_basics_switchtobodyfont\m_math_text_choice_face#1}}
+
+\def\math_text_choice% if needed we can get rid of the normalize (predo in font code)
{\normalizebodyfontsize\m_math_text_choice_face{\mathstyleface\normalmathstyle}%
- \hbox{\font_basics_switchtobodyfont\m_math_text_choice_face#1}}
+ \hbox\bgroup\font_basics_switchtobodyfont\m_math_text_choice_face\let\next}
%D Safeguard against redefinitions:
@@ -1265,4 +1269,12 @@
\unexpanded\def\smallmathsymbol#1%
{\mathematics{\mathbin{\normalexpanded{\raise.15\exheight\hbox{$\triggermathstyle{\the\numexpr\normalmathstyle+2\relax}#1$}}}}}
+% this should be a primitive:
+
+% \def\mathextensiblecode#1#2%
+% {\cldcontext{mathematics.extensiblecode(\number#1,\number#2)}}
+
+\def\mathextensiblecode#1#2% should be a primitive
+ {\ctxcommand{extensiblecode(\number#1,\number#2)}}
+
\protect \endinput