summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/meta-ini.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-08-19 20:32:31 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-08-19 20:32:31 +0200
commitaf60125ab3fa9e482720f0f46c2143fa08512113 (patch)
tree3e85c8a8a5979ebd05b891f8ecfb93d1b69ac41b /tex/context/base/mkxl/meta-ini.mkxl
parentd3d93bc4f0d21a259fdafee5ba1a744999474c28 (diff)
downloadcontext-af60125ab3fa9e482720f0f46c2143fa08512113.tar.gz
2021-08-19 19:43:00
Diffstat (limited to 'tex/context/base/mkxl/meta-ini.mkxl')
-rw-r--r--tex/context/base/mkxl/meta-ini.mkxl6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/meta-ini.mkxl b/tex/context/base/mkxl/meta-ini.mkxl
index 8abd1339a..b30f4826f 100644
--- a/tex/context/base/mkxl/meta-ini.mkxl
+++ b/tex/context/base/mkxl/meta-ini.mkxl
@@ -514,7 +514,8 @@
\meta_mpvar_default
\orelse\ifchkdim\m_meta_current_variable\or
\todimension\m_meta_current_variable\space\space
- \orelse\ifchknum\m_meta_current_variable\or
+ % \orelse\ifchknum\m_meta_current_variable\or % we need to catch 1>2
+ \orunless\iftok{\ifchknum\m_meta_current_variable\or\tointeger\m_meta_current_variable\fi}\emptytoks
\tointeger\m_meta_current_variable\space\space
\orelse\ifcsname\??colorattribute\currentcolorprefix\m_meta_current_variable\endcsname
\MPcolor\m_meta_current_variable\space
@@ -532,7 +533,8 @@
\meta_mpvar_default
\orelse\ifchkdim\m_meta_current_variable\or
\todimension\m_meta_current_variable\space\space
- \orelse\ifchknum\m_meta_current_variable\or
+ % \orelse\ifchknum\m_meta_current_variable\or % we need to catch 1>2
+ \orunless\iftok{\ifchknum\m_meta_current_variable\or\tointeger\m_meta_current_variable\fi}\emptytoks
\tointeger\m_meta_current_variable\space\space
\orelse\ifcsname\??colorattribute\currentcolorprefix\m_meta_current_variable\endcsname
\MPcolor\m_meta_current_variable\space