summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/math-vfu.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/math-vfu.lmt')
-rw-r--r--tex/context/base/mkxl/math-vfu.lmt20
1 files changed, 14 insertions, 6 deletions
diff --git a/tex/context/base/mkxl/math-vfu.lmt b/tex/context/base/mkxl/math-vfu.lmt
index 53988036c..bdd5de103 100644
--- a/tex/context/base/mkxl/math-vfu.lmt
+++ b/tex/context/base/mkxl/math-vfu.lmt
@@ -936,9 +936,12 @@ function vfmath.define(specification,set,goodies)
local skewchar = ss.skewchar
local backmap = ss.backmap
local badones = ss.badones
+ local ignore = ss.ignore
local done = { }
local extras = { }
- if not backmap then
+ if backmap == false then
+ -- backmap = { }
+ elseif not backmap then
backmap = { }
for unicode, character in next, fc do
backmap[character.order or character.index or unicode] = unicode
@@ -969,11 +972,16 @@ function vfmath.define(specification,set,goodies)
rv[unicode] = true
end
else
- local u = mathematics.gaps[unicode] or unicode
- local t = virtualize(s,uni,fci,skewchar,tonumber(badones and badones[fci.name or ""]),mathparameters,u,fp)
- done[uni] = t
- characters[unicode] = t
- fci.unicode = u
+ local name = fci.name or ""
+ if ignore and ignore[name] then
+ -- get rid of ugly slanted antykwa { }
+ else
+ local u = mathematics.gaps[unicode] or unicode
+ local t = virtualize(s,uni,fci,skewchar,tonumber(badones and badones[name]),mathparameters,u,fp)
+ done[uni] = t
+ characters[unicode] = t
+ fci.unicode = u
+ end
end
end
if isextension then