diff options
Diffstat (limited to 'tex/context/modules/mkiv/s-math-characters.lua')
-rw-r--r-- | tex/context/modules/mkiv/s-math-characters.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/modules/mkiv/s-math-characters.lua b/tex/context/modules/mkiv/s-math-characters.lua index 8ff3a8660..757e843da 100644 --- a/tex/context/modules/mkiv/s-math-characters.lua +++ b/tex/context/modules/mkiv/s-math-characters.lua @@ -53,8 +53,14 @@ function moduledata.math.characters.showlist(specification) local sorted = { } if type(list) == "string" then sorted = utilities.parsers.settings_to_array(list) + for i=1,#sorted do + sorted[i] = tonumber(sorted[i]) + end elseif type(list) == "table" then sorted = list + for i=1,#sorted do + sorted[i] = tonumber(sorted[i]) + end elseif fillinthegaps then sorted = table.keys(characters) for k, v in next, gaps do |