summaryrefslogtreecommitdiff
path: root/tex/context/base/supp-mat.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-07-04 12:00:14 +0300
committerMarius <mariausol@gmail.com>2012-07-04 12:00:14 +0300
commit895f68ef1727ec31a51ef8799e2bf576ea7642d0 (patch)
treebaec5079e7fd9febeee6c1cb257b064a46fe665b /tex/context/base/supp-mat.mkiv
parentbb0eac07417aec9a0da32a54fbdad4553cebcce7 (diff)
downloadcontext-895f68ef1727ec31a51ef8799e2bf576ea7642d0.tar.gz
beta 2012.07.04 10:42
Diffstat (limited to 'tex/context/base/supp-mat.mkiv')
-rw-r--r--tex/context/base/supp-mat.mkiv7
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/supp-mat.mkiv b/tex/context/base/supp-mat.mkiv
index 21871e80d..0c2402671 100644
--- a/tex/context/base/supp-mat.mkiv
+++ b/tex/context/base/supp-mat.mkiv
@@ -91,7 +91,12 @@
%D
%D An example of usage of the following can be found in the MathML module:
-\unexpanded\def\displaymathematics#1{\relax\ifmmode#1\else\dostartformula{}#1\dostopformula\fi}
+\ifdefined\strc_formulas_start_formula \else
+ \def\strc_formulas_start_formula{\normalstartdmath}
+ \def\strc_formulas_stop_formula {\normalstopdmath }
+\fi
+
+\unexpanded\def\displaymathematics#1{\relax\ifmmode#1\else\strc_formulas_start_formula{}#1\strc_formulas_stop_formula\fi}
\unexpanded\def\inlinemathematics {\dontleavehmode\mathematics}
\unexpanded\def\automathematics {\relax\ifhmode\expandafter\inlinemathematics\else\expandafter\displaymathematics\fi}