summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/math-pln.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/math-pln.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/math-pln.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/base/math-pln.tex b/Master/texmf-dist/tex/context/base/math-pln.tex
index f0b4f440e41..ffa16c8f514 100644
--- a/Master/texmf-dist/tex/context/base/math-pln.tex
+++ b/Master/texmf-dist/tex/context/base/math-pln.tex
@@ -203,11 +203,13 @@
\def\doteq
{\buildrel\textstyle.\over=}
+\ifx\mfunction\undefined \def\mfunction#1{\mathbin{\rm#1}} \fi
+
\def\bmod
{\nonscript
\mskip-\medmuskip
\mkern5mu
- \mathbin{\rm mod}%
+ \mfunction{mod}%
\penalty900
\mkern5mu
\nonscript
@@ -216,7 +218,7 @@
\def\pmod#1%
{\allowbreak
\mkern18mu
- ({\rm mod}\,\,#1)}
+ (\mfunction{mod}\,\,#1)}
\def\cases#1%
{\left\{%
@@ -334,8 +336,8 @@
%
% \letcatcodecommand \mthcatcodes `\_ \activemathunderscore
% \letcatcodecommand \mthcatcodes `\' \activemathquote
-%
-% \appendtoks \setcatcodetable\mthcatcodes \to \everymath
+
+% \appendtoks \setcatcodetable\mthcatcodes \to \everymath : spoils xml
% tricky, but some day we will reimplement math