move lbl into mtext, WIPgit add -p
This commit is contained in:
parent
cca4a39d89
commit
18e85d016a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user