summaryrefslogtreecommitdiff
path: root/tex/context/base/x-mathml.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/x-mathml.tex')
-rw-r--r--tex/context/base/x-mathml.tex32
1 files changed, 16 insertions, 16 deletions
diff --git a/tex/context/base/x-mathml.tex b/tex/context/base/x-mathml.tex
index 5c36c35fb..ed8e25866 100644
--- a/tex/context/base/x-mathml.tex
+++ b/tex/context/base/x-mathml.tex
@@ -2,47 +2,47 @@
%D [ file=m-mathml,
%D version=1999.12.20,
%D title=\CONTEXT\ XML Modules,
-%D subtitle=Loading \MATHML\ Filters,
+%D subtitle=Loading \MATHML\ Filters,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
-%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
-%C details.
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
+%C details.
-%D We have to make sure that some basic entities are
+%D We have to make sure that some basic entities are
%D loaded:
-\useXMLfilter[ent]
+\useXMLfilter[ent]
-%D Then we load the math:
+%D Then we load the math:
-\useXMLfilter[mml,mmp,mmc]
+\useXMLfilter[mml,mmp,mmc]
-%D And we also load the whole bunch of entities:
+%D And we also load the whole bunch of entities:
% \useXMLfilter[mea,meb,mec,meh,men,meo,mer]
% \useXMLfilter[mxa,mxb,mxc,mxh,mxn,mxo,mxr]
-%D For simple inline math, we first provide:
+%D For simple inline math, we first provide:
-\newcount\xmlmathlevel % todo : nesting ! ! ! !
+\newcount\xmlmathlevel % todo : nesting ! ! ! !
-\defineXMLenvironment [m] \startXMLinlinemath \stopXMLinlinemath
+\defineXMLenvironment [m] \startXMLinlinemath \stopXMLinlinemath
-\def\startXMLinlinemath
+\def\startXMLinlinemath
{\ifmmode
- \advance\xmlmathlevel1\relax
+ \advance\xmlmathlevel1\relax
\else
\xmlmathlevel1$%
- \fi}
+ \fi}
-\def\stopXMLinlinemath
+\def\stopXMLinlinemath
{\ifcase\xmlmathlevel\or
$\xmlmathlevel0\relax
\else
\advance\xmlmathlevel-1\relax
\fi}
-\endinput
+\endinput \ No newline at end of file