summaryrefslogtreecommitdiff
path: root/tex/context
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2013-03-28 00:08:13 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2013-03-28 00:08:13 +0100
commita918eb26b9eddddd43423624f7de2e4843573fc0 (patch)
tree98f22646f962e325bd13745d790200edfb0388b1 /tex/context
parent1357b5c583925f56b3a353987ab383281fc89416 (diff)
downloadcyrillicnumbers-a918eb26b9eddddd43423624f7de2e4843573fc0.tar.gz
localize globals
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