Generate table of contents and figure/table lists

This commit is contained in:
gloamxun committed 2026-10-19 14:01:35 +08:00
1 parent 477e2124c8
commit 4aa1714923
11 files changed
+353 -29

No files matched your search

+3
View File
@@ -273,6 +273,9 @@ pub struct ListItem {
pub enum UnresolvedReference {
Label(String),
Citation(Vec<String>),
/// A table-of-contents/list page number for the block with this index.
/// The target is resolved to a page number during page layout.
TocPage(usize),
}
/// Horizontal alignment of a fixed-width inline box.