add zero to columnspacing

This commit is contained in:
Ulrike Fischer 2025-03-02 19:30:36 +01:00
parent 0b9c886c19
commit b2afb8400a

View File

@ -149,7 +149,7 @@ lua.get_functions_table()[funcid] = function()
for n in node.traverse_id(node.id'glue', tex.lists.align_head) do for n in node.traverse_id(node.id'glue', tex.lists.align_head) do
spacing[#spacing+1] = n.width == 0 and '0' or '.8em' spacing[#spacing+1] = n.width == 0 and '0' or '.8em'
end end
mml_table.columnspacing = #spacing > 3 and table.concat(spacing, ' ', 2, #spacing-2) or nil mml_table.columnspacing = #spacing > 3 and "0 "..table.concat(spacing, ' ', 2, #spacing-2) or nil
debug_mtable(mml_table,kind) debug_mtable(mml_table,kind)
save_result(mml_table, true) save_result(mml_table, true)
end end