remove star from class name

This commit is contained in:
Ulrike Fischer 2025-02-23 19:13:53 +01:00
parent fcc83a2696
commit c83f29d906

View File

@ -70,7 +70,7 @@ do
local mml_table = get_table() local mml_table = get_table()
if not mml_table then return end if not mml_table then return end
mml_table.displaystyle = true mml_table.displaystyle = true
mml_table.class=kind mml_table.class=kind:gsub("*","")
if kind=="split" then if kind=="split" then
add_intent_continued_row (mml_table) add_intent_continued_row (mml_table)
end end
@ -121,7 +121,7 @@ lua.get_functions_table()[funcid] = function()
local mml_table = get_table() local mml_table = get_table()
if not mml_table then return end if not mml_table then return end
mml_table.displaystyle = true mml_table.displaystyle = true
mml_table.class=kind mml_table.class=kind:gsub("*","")
local columns = node.count(node.id'align_record', tex.lists.align_head)//2 local columns = node.count(node.id'align_record', tex.lists.align_head)//2
mml_table.columnalign = kind == 'align' and 'left '..string.rep('right left', columns, ' ') or nil mml_table.columnalign = kind == 'align' and 'left '..string.rep('right left', columns, ' ') or nil
mml_table.width = kind == 'multline' and '100%' or nil mml_table.width = kind == 'multline' and '100%' or nil