summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/context/lua/mtx-unicode.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/context/lua/mtx-unicode.lua')
-rw-r--r--Master/texmf-dist/scripts/context/lua/mtx-unicode.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/context/lua/mtx-unicode.lua b/Master/texmf-dist/scripts/context/lua/mtx-unicode.lua
index 02dafda0c00..673febc6593 100644
--- a/Master/texmf-dist/scripts/context/lua/mtx-unicode.lua
+++ b/Master/texmf-dist/scripts/context/lua/mtx-unicode.lua
@@ -339,6 +339,7 @@ function scripts.unicode.update()
local d = characterdata[first]
if d then
local v = d.variants
+ local v = rawget(d,"variants")
if not v then
v = { }
d.variants = v
@@ -350,6 +351,12 @@ function scripts.unicode.update()
end
end
end
+ for unicode, ud in table.sortedpairs(characterdata) do
+ if not rawget(ud,"category") and rawget(ud,"variants") then
+ report("stripping %U (variant, takes from metacharacter)",unicode)
+ characterdata[unicode] = nil
+ end
+ end
end
local preamble