Skip to content

Commit 78788bb

Browse files
committed
feat(order_annotation.py): add annotation for text and footnote
1 parent be03c56 commit 78788bb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

vrdu/order_annotation.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,4 +331,14 @@ def generate_sortable_envs_order(self):
331331
stack.append(element)
332332
continue
333333

334+
if element.category == config.name2category["Footnote"]:
335+
annotations.append(
336+
{
337+
"type": "explicit-cite",
338+
"from": element.block_id,
339+
"to": stack[-1].block_id,
340+
}
341+
)
342+
continue
343+
334344
self.annotations["orders"].extend(annotations)

0 commit comments

Comments
 (0)