summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-lin.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-12-19 15:15:06 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-12-19 15:15:06 +0100
commit717e95884408a83aaf6c7f34fd38b94b2fb83bed (patch)
treee3d8b9a4e5df583d2b7fc0d7f2089d2009e926a8 /tex/context/base/typo-lin.lua
parentd1faffcd5d92925a6c5e66ebb72b4c8dcfae236f (diff)
downloadcontext-717e95884408a83aaf6c7f34fd38b94b2fb83bed.tar.gz
2015-12-19 14:45:00
Diffstat (limited to 'tex/context/base/typo-lin.lua')
-rw-r--r--tex/context/base/typo-lin.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/tex/context/base/typo-lin.lua b/tex/context/base/typo-lin.lua
index e5b9b8d7c..001bc94cf 100644
--- a/tex/context/base/typo-lin.lua
+++ b/tex/context/base/typo-lin.lua
@@ -84,6 +84,7 @@ local copy_list = nuts.copy_list
local getsubtype = nuts.getsubtype
local getlist = nuts.getlist
+local setlist = nuts.setlist
local getid = nuts.getid
local getnext = nuts.getnext
local getprev = nuts.getprev
@@ -152,7 +153,7 @@ local function finalize(prop,key) -- delayed calculations
head = insert_before(head,head,kern1)
head = insert_before(head,head,pack)
head = insert_before(head,head,kern2)
- setfield(line,"list",head)
+ setlist(line,head)
local where = {
pack = pack,
head = nil,
@@ -217,7 +218,7 @@ local function normalize(line,islocal) -- assumes prestine lines, nothing pre/ap
end
end
if head ~= oldhead then
- setfield(line,"list",head)
+ setlist(line,head)
end
noflines = noflines + 1
local prop = {
@@ -296,7 +297,7 @@ local function addtoline(n,list,option)
head, tail = insert_after(head,tail,kern)
else
head, tail = kern, kern
- setfield(where.pack,"list",head)
+ setlist(where.pack,head)
end
head, tail = insert_after(head,tail,blob)
local kern = new_kern(-delta)
@@ -332,7 +333,7 @@ local function addanchortoline(n,anchor)
else
where.tail = anchor
end
- setfield(where.pack,"list",anchor)
+ setlist(where.pack,anchor)
where.head = anchor
return line
end