diff options
Diffstat (limited to 'tex/context/base/mkiv/math-ini.lua')
-rw-r--r-- | tex/context/base/mkiv/math-ini.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/math-ini.lua b/tex/context/base/mkiv/math-ini.lua index 321014d94..2cb4e2413 100644 --- a/tex/context/base/mkiv/math-ini.lua +++ b/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 |