summaryrefslogtreecommitdiff
path: root/tex/context/base/math-ini.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-04-10 00:41:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-04-10 00:41:00 +0200
commit9d70006f5010742ada1dbec46881dd4d8f702a92 (patch)
tree337afb1eef629051eb2edb346d193cfc52cf4038 /tex/context/base/math-ini.mkiv
parent62e6c328f340d0f9a06a51b81d376415cf8f83aa (diff)
downloadcontext-9d70006f5010742ada1dbec46881dd4d8f702a92.tar.gz
stable 2013.04.10 00:41
Diffstat (limited to 'tex/context/base/math-ini.mkiv')
-rw-r--r--tex/context/base/math-ini.mkiv12
1 files changed, 6 insertions, 6 deletions
diff --git a/tex/context/base/math-ini.mkiv b/tex/context/base/math-ini.mkiv
index 891160847..72daa8341 100644
--- a/tex/context/base/math-ini.mkiv
+++ b/tex/context/base/math-ini.mkiv
@@ -1057,7 +1057,7 @@
#1}}
\def\triggermathstyle#1% #1 is number
- {\ifcase#1\relax
+ {\ifcase\numexpr#1\relax
\displaystyle \or
\crampeddisplaystyle \or
\textstyle \or
@@ -1070,7 +1070,7 @@
\fi}
\def\mathstylefont#1% #1 is number (\normalmathstyle)
- {\ifcase#1\relax
+ {\ifcase\numexpr#1\relax
\textfont \or
\textfont \or
\textfont \or
@@ -1083,7 +1083,7 @@
\fi\zerocount} % hm, can ie other value as well
\def\mathsmallstylefont#1% #1 is number (\normalmathstyle)
- {\ifcase#1\relax
+ {\ifcase\numexpr#1\relax
\scriptfont \or
\scriptfont \or
\scriptfont \or
@@ -1096,7 +1096,7 @@
\fi\zerocount} % hm, can ie other value as well
\def\mathstyleface#1% #1 is number (\normalmathstyle)
- {\ifcase#1
+ {\ifcase\numexpr#1\relax
\textface \or
\textface \or
\textface \or
@@ -1109,7 +1109,7 @@
\fi}
\def\mathsmallstyleface#1% #1 is number (\normalmathstyle)
- {\ifcase#1
+ {\ifcase\numexpr#1\relax
\scriptface \or
\scriptface \or
\scriptface \or
@@ -1122,7 +1122,7 @@
\fi}
\def\mathstylecommand#1#2#3%
- {\ifcase\normalmathstyle
+ {\ifcase\numexpr\normalmathstyle\relax
\expandafter#1\or
\expandafter#1\or
\expandafter#1\or