summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/lpdf-fld.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-08-01 21:33:13 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-08-01 21:33:13 +0200
commit391b705af1c22eaa6027d18a146e8d3fafc8832f (patch)
tree5e3e1903b545c12d57e6aca4888c2200b176c91d /tex/context/base/mkiv/lpdf-fld.lua
parent4afd5f6ad89594e3d8387b2acebefb6f37cb0cad (diff)
downloadcontext-391b705af1c22eaa6027d18a146e8d3fafc8832f.tar.gz
2017-08-01 18:16:00
Diffstat (limited to 'tex/context/base/mkiv/lpdf-fld.lua')
-rw-r--r--tex/context/base/mkiv/lpdf-fld.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/lpdf-fld.lua b/tex/context/base/mkiv/lpdf-fld.lua
index bbafb299b..9456e2f08 100644
--- a/tex/context/base/mkiv/lpdf-fld.lua
+++ b/tex/context/base/mkiv/lpdf-fld.lua
@@ -55,7 +55,7 @@ if not modules then modules = { } end modules ['lpdf-fld'] = {
-- for printing especially when highlighting (those colorfull foregrounds) is
-- on.
-local tostring, next = tostring, next
+local tostring, tonumber, next = tostring, tonumber, next
local gmatch, lower, format, formatters = string.gmatch, string.lower, string.format, string.formatters
local lpegmatch = lpeg.match
local bpfactor, todimen = number.dimenfactors.bp, string.todimen