diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-02-10 18:26:49 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-02-10 18:26:49 +0100 |
commit | 416dffef7b9d3f8db26b614588f2e63d7f5db89f (patch) | |
tree | 173153295a3a5a4f436283cb0ab8bb895be98ea5 /tex/context/base/mkiv/typo-mar.lua | |
parent | 99dc1cd9bb77ac9fa68b0584f58f57749994fdba (diff) | |
download | context-416dffef7b9d3f8db26b614588f2e63d7f5db89f.tar.gz |
2019-02-10 17:52:00
Diffstat (limited to 'tex/context/base/mkiv/typo-mar.lua')
-rw-r--r-- | tex/context/base/mkiv/typo-mar.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/typo-mar.lua b/tex/context/base/mkiv/typo-mar.lua index 119ccf69e..179fea607 100644 --- a/tex/context/base/mkiv/typo-mar.lua +++ b/tex/context/base/mkiv/typo-mar.lua @@ -83,7 +83,7 @@ local setshift = nuts.setshift local getwidth = nuts.getwidth local setwidth = nuts.setwidth local getheight = nuts.getheight -local getdata = nuts.getdata +local getprop = nuts.getprop local setattrlist = nuts.setattrlist @@ -104,7 +104,7 @@ local userdefined_code = whatsitcodes.userdefined local nodepool = nuts.pool -local new_usernumber = nodepool.usernumber +local new_usernode = nodepool.usernode local new_hlist = nodepool.hlist local lateluafunction = nodepool.lateluafunction @@ -300,7 +300,7 @@ function margins.save(t) -- -- t.realpageno = texgetcount("realpageno") if inline then - local n = new_usernumber(inline_mark,nofsaved) + local n = new_usernode(inline_mark,nofsaved) setattrlist(n,true) context(tonode(n)) -- or use a normal node store[nofsaved] = t -- no insert @@ -720,8 +720,8 @@ local function flushinline(parent,head) while current and nofinlined > 0 do local id = getid(current) if id == whatsit_code then - if getsubtype(current) == userdefined_code and getfield(current,"user_id") == inline_mark then - local n = getdata(current) + if getsubtype(current) == userdefined_code and getprop(current,"id") == inline_mark then + local n = getprop(current,"data") local candidate = inlinestore[n] if candidate then -- no vpack, as we want to realign inlinestore[n] = nil |