local to_direct = node.direct.todirect
local ltjl = luatexja.lineskip
local id_glue = node.id('glue')
local to_direct = node.direct.todirect
local ltjl = luatexja.lineskip
local id_glue = node.id('glue')
local id_hlist = node.id('hlist')
local setfield = node.direct.setfield
local getfield = node.direct.getfield
local id_hlist = node.id('hlist')
local setfield = node.direct.setfield
local getfield = node.direct.getfield
-function ltjl.l_dummy(dist, g, adj, normal, bw)
+function ltjl.l_dummy(dist, g, adj, normal, bw, loc)
if dist < tex.lineskiplimit then
copy_glue(g, tex.lineskip, 1, tex.lineskip.width + adj)
else
if dist < tex.lineskiplimit then
copy_glue(g, tex.lineskip, 1, tex.lineskip.width + adj)
else
if pid==id_hlist and getid(n)==id_hlist then
local normal = bw - getfield(p, 'depth') - getfield(n, 'height')
local lmin, adj = ltj_profiler(p, n, false, bw)
if pid==id_hlist and getid(n)==id_hlist then
local normal = bw - getfield(p, 'depth') - getfield(n, 'height')
local lmin, adj = ltj_profiler(p, n, false, bw)
local make_dir_whatsit = luatexja.direction.make_dir_whatsit
local get_dir_count = luatexja.direction.get_dir_count
local node_write = node.direct.write
local make_dir_whatsit = luatexja.direction.make_dir_whatsit
local get_dir_count = luatexja.direction.get_dir_count
local node_write = node.direct.write
- getfield(new_b, mirrored and 'depth' or 'height')
local lmin, adj = nil, 0
local tail = to_direct(tex.nest[tex.nest.ptr].tail)
- getfield(new_b, mirrored and 'depth' or 'height')
local lmin, adj = nil, 0
local tail = to_direct(tex.nest[tex.nest.ptr].tail)
- ltj_skip(lmin or normal, g, adj, normal, bw)
+ ltj_skip(lmin or normal, g, adj, normal, bw, loc)