Hi,
With the latest upload, "tex.linebreak" doesn't return an "info" table.
When running this code:
\startluacode
function test(head)
local new_head, info = tex.linebreak(node.copylist(head))
print(head, type(head), info, type(info))
if info == nil then
print "!!! info is nil !!!"
end
return head
end
nodes.tasks.appendaction("processors", "after", "test")
\stopluacode
\starttext
Hello!
\stoptext
with the latest upload I get (also note the small typo in "rigthfill"):
luatex warning > linebreak: no [ leftinit | rightinit | leftfill | rigthfill] expected