summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/math-ini.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/math-ini.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/math-ini.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/math-ini.lua b/Master/texmf-dist/tex/context/base/mkiv/math-ini.lua
index 321014d9473..2cb4e24135e 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/math-ini.lua
+++ b/Master/texmf-dist/tex/context/base/mkiv/math-ini.lua
@@ -365,6 +365,11 @@ local function utfmathclass(chr, default)
return cd and cd.mathclass or default or "unknown"
end
+local function utfmathlimop(chr)
+ local cd = somechar[chr]
+ return cd and cd.mathclass == "limop" or false
+end
+
local function utfmathaccent(chr,default,asked1,asked2)
local cd = somechar[chr]
if not cd then
@@ -513,6 +518,7 @@ implement {
actions = { utfmathcommand, context },
arguments = { "string", false, "'botaccent'","'under'" }
}
+
implement {
name = "utfmathcommandfiller",
actions = { utfmathfiller, context },
@@ -545,6 +551,12 @@ implement {
arguments = "string",
}
+implement {
+ name = "doifelseutfmathlimop",
+ actions = { utfmathlimop, ctx_doifelsesomething },
+ arguments = "string",
+}
+
-- helpers
--
-- 1: step 1