summaryrefslogtreecommitdiff
path: root/tex/context/base/lpdf-fld.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-10-19 23:03:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-10-19 23:03:00 +0200
commit33b756529488b2cc6bd6a2786361f8099c023820 (patch)
treed7431c6525d7d57512e6d120abbcccce1002f28a /tex/context/base/lpdf-fld.lua
parentec84960ca720596a893b4e8c3e127f7aab571f10 (diff)
downloadcontext-33b756529488b2cc6bd6a2786361f8099c023820.tar.gz
beta 2010.10.19 23:03
Diffstat (limited to 'tex/context/base/lpdf-fld.lua')
-rw-r--r--tex/context/base/lpdf-fld.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/lpdf-fld.lua b/tex/context/base/lpdf-fld.lua
index afb48ba53..9e49e0098 100644
--- a/tex/context/base/lpdf-fld.lua
+++ b/tex/context/base/lpdf-fld.lua
@@ -12,7 +12,6 @@ if not modules then modules = { } end modules ['lpdf-fld'] = {
local gmatch, lower, format = string.gmatch, string.lower, string.format
local lpegmatch = lpeg.match
-local texsprint, ctxcatcodes = tex.sprint, tex.ctxcatcodes
local bpfactor, todimen = number.dimenfactors.bp, string.todimen
local trace_fields = false trackers.register("widgets.fields", function(v) trace_fields = v end)
@@ -22,6 +21,7 @@ local report_fields = logs.new("fields")
local backends, lpdf = backends, lpdf
local variables = interfaces.variables
+local context = context
local references = structures.references
local settings_to_array = utilities.parsers.settings_to_array
@@ -422,7 +422,7 @@ function codeinjections.getdefaultfieldvalue(name)
end
end
if default then
- tex.sprint(ctxcatcodes,default)
+ context(default)
end
end
end
@@ -529,7 +529,7 @@ function codeinjections.getfieldgroup(name)
end
end
if g then
- texsprint(ctxcatcodes,g)
+ context(g)
end
end
end