move lbl into mtext, WIPgit add -p

This commit is contained in:
Ulrike Fischer 2025-02-06 01:17:22 +01:00
parent cca4a39d89
commit 18e85d016a

View File

@ -117,6 +117,10 @@ local function write_elem(tree, stash)
end end
for _, elem in ipairs(tree) do for _, elem in ipairs(tree) do
if type(elem) ~= 'string' and not elem['tex:ignore'] then if type(elem) ~= 'string' and not elem['tex:ignore'] then
if elem['intent']==':equationlabel' and lastlblstructnum then
elem[1][#elem+1]={[':structnum']= lastlblstructnum}
lastlblstructnum=nil
end
write_elem(elem) write_elem(elem)
end end
end end