diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-03-25 23:12:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-03-25 23:12:00 +0100 |
commit | 41bb7ad440ec4b0d5c35e174792e3c4845313e7b (patch) | |
tree | 28bbc2b1363523f632f6dcbc8bc096072f77f5de /tex/context/base/page-lin.lua | |
parent | 28351dce705d3546bc4a67b554ee474d2f3cce4a (diff) | |
download | context-41bb7ad440ec4b0d5c35e174792e3c4845313e7b.tar.gz |
beta 2010.03.25 23:12
Diffstat (limited to 'tex/context/base/page-lin.lua')
-rw-r--r-- | tex/context/base/page-lin.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/page-lin.lua b/tex/context/base/page-lin.lua index 444210428..b090dd4a2 100644 --- a/tex/context/base/page-lin.lua +++ b/tex/context/base/page-lin.lua @@ -138,7 +138,7 @@ function nodes.lines.boxed.setup(n,configuration) return n end -local leftskip = nodes.leftskip +local the_left_margin = nodes.the_left_margin local function check_number(n,a,skip) -- move inline local d = data[a] @@ -147,7 +147,7 @@ local function check_number(n,a,skip) -- move inline current_list[#current_list+1] = { n, s } if not skip and s % d.step == 0 then local tag = d.tag or "" - texsprint(ctxcatcodes, format("\\makenumber{%s}{%s}{%s}{%s}{%s}\\endgraf", tag, s, n.shift, n.width, leftskip(n.list))) + texsprint(ctxcatcodes, format("\\makenumber{%s}{%s}{%s}{%s}{%s}\\endgraf", tag, s, n.shift, n.width, the_left_margin(n.list))) if trace_numbers then logs.report("numbers","making number %s for setup %s: %s (%s)",#current_list,a,s,d.continue or "no") end |