diff options
author | Marius <mariausol@gmail.com> | 2012-07-04 12:00:14 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-07-04 12:00:14 +0300 |
commit | 895f68ef1727ec31a51ef8799e2bf576ea7642d0 (patch) | |
tree | baec5079e7fd9febeee6c1cb257b064a46fe665b /tex/context/base/supp-mat.mkiv | |
parent | bb0eac07417aec9a0da32a54fbdad4553cebcce7 (diff) | |
download | context-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.mkiv | 7 |
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} |