Support hang indentation and parshape measures

This commit is contained in:
gloamxun committed 2026-10-23 01:18:19 +08:00
1 parent 24a96d1c7c
commit 8993186005
7 files changed
+269 -88

No files matched your search

+3
View File
@@ -333,6 +333,9 @@ fn build_document(paragraphs: &[SourceParagraph]) -> Document {
centered: paragraph.centered,
right_aligned: paragraph.right_aligned,
right_skip: 0,
hang_indent: 0,
hang_after: 1,
par_shape: Vec::new(),
par_indent: 0,
emergencystretch: 0,
pretolerance: 100,