summaryrefslogtreecommitdiff
path: root/tex/context
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context')
-rw-r--r--tex/context/third/cyrillicnumbers/cyrillicnumbers.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/third/cyrillicnumbers/cyrillicnumbers.lua b/tex/context/third/cyrillicnumbers/cyrillicnumbers.lua
index 7fc1c98..c28a044 100644
--- a/tex/context/third/cyrillicnumbers/cyrillicnumbers.lua
+++ b/tex/context/third/cyrillicnumbers/cyrillicnumbers.lua
@@ -37,11 +37,12 @@ local mathceil = math.ceil
local mathfloor = math.floor
local stringformat = string.format
local tableconcat = table.concat
---local tablemaxn = table.maxn
local tableinsert = table.insert
+local tostring = tostring
+local type = type
local utf8char = unicode.utf8.char
local utf8len = unicode.utf8.len
-local utfupper = unicode.utf8.upper
+
local cyrnum = {
placetitlo = "font",
@@ -234,7 +235,7 @@ local titlofuncs = {
--[[ldx--
<p>Concatenation of the digit list has to take into account different conditions: whether the user requests the dot markers to be added, whether a titlo is requested etc.</p>
--ldx]]--
-local concat_cyrillic_nums = function (list, upper)
+local concat_cyrillic_nums = function (list)
local result = ""
local digits = digits_only(list) -- strip placeholders
local nlist, ndigits = #list, #digits