diff options
author | Marius <mariausol@gmail.com> | 2010-10-20 00:20:12 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-10-20 00:20:12 +0300 |
commit | f93975efd76053e907d19114d4ba576ae44da134 (patch) | |
tree | bde9a37d4fd9dd8eae1ce89d3adb154cfe5d3d5d /tex/context/base/lpdf-fld.lua | |
parent | 8009e0ec2449002df344f784da9fe6846abc774f (diff) | |
download | context-f93975efd76053e907d19114d4ba576ae44da134.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.lua | 6 |
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 |