diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-09-03 11:05:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-09-03 11:05:00 +0200 |
commit | 0da1a7a94f55a5dc0d318f399eb843303d5b62f6 (patch) | |
tree | b5493406b2f6d8954204b532df5549acbc4baee8 /tex/context/base/page-lin.lua | |
parent | bbc8970958af29626335568414a4278d852e086f (diff) | |
download | context-0da1a7a94f55a5dc0d318f399eb843303d5b62f6.tar.gz |
beta 2010.09.03 11:05
Diffstat (limited to 'tex/context/base/page-lin.lua')
-rw-r--r-- | tex/context/base/page-lin.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/page-lin.lua b/tex/context/base/page-lin.lua index 08a10c2dd..7a525172c 100644 --- a/tex/context/base/page-lin.lua +++ b/tex/context/base/page-lin.lua @@ -27,6 +27,8 @@ local last = #data lines.scratchbox = lines.scratchbox or 0 +local leftmarginwidth = nodes.leftmarginwidth + storage.register("lines/data", lines.data, "nodes.lines.data") -- if there is demand for it, we can support multiple numbering streams @@ -151,8 +153,6 @@ function boxed.setup(n,configuration) return n end -local the_left_margin = nodes.the_left_margin - local function check_number(n,a,skip,sameline) local d = data[a] if d then @@ -174,7 +174,7 @@ local function check_number(n,a,skip,sameline) report_lines("skipping line number %s for setup %s: %s (%s)",#current_list,a,s,d.continue or "no") end end - context.makelinenumber(tag,skipflag,s,n.shift,n.width,the_left_margin(n.list),n.dir) + context.makelinenumber(tag,skipflag,s,n.shift,n.width,leftmarginwidth(n.list),n.dir) end end |