summaryrefslogtreecommitdiff
path: root/tex/context/base/util-dim.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/util-dim.lua')
-rw-r--r--tex/context/base/util-dim.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/util-dim.lua b/tex/context/base/util-dim.lua
index 4bae2d099..47b2706b7 100644
--- a/tex/context/base/util-dim.lua
+++ b/tex/context/base/util-dim.lua
@@ -20,6 +20,7 @@ local P, S, R, Cc, C, lpegmatch = lpeg.P, lpeg.S, lpeg.R, lpeg.Cc, lpeg.C, lpeg.
local allocate = utilities.storage.allocate
local setmetatableindex = table.setmetatableindex
+local formatters = string.formatters
--this might become another namespace
@@ -86,6 +87,7 @@ local dimenfactors = allocate {
format (string) is implemented using this table.</p>
--ldx]]--
+
local function numbertodimen(n,unit,fmt)
if type(n) == 'string' then
return n