diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-12-19 15:15:06 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-12-19 15:15:06 +0100 |
commit | 717e95884408a83aaf6c7f34fd38b94b2fb83bed (patch) | |
tree | e3d8b9a4e5df583d2b7fc0d7f2089d2009e926a8 /tex/context/base/typo-lin.lua | |
parent | d1faffcd5d92925a6c5e66ebb72b4c8dcfae236f (diff) | |
download | context-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.lua | 9 |
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 |