From a918eb26b9eddddd43423624f7de2e4843573fc0 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 28 Mar 2013 00:08:13 +0100 Subject: localize globals --- tex/context/third/cyrillicnumbers/cyrillicnumbers.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tex/context') 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--

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.

--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 -- cgit v1.2.3