style(template): enforce no first-line indent for table styles; default PDF indent 2em

- Set first-line-indent: 0 on all TABLE styles in default/review docx templates
  to prevent table cells from inheriting Normal paragraph indentation.
- Set default PDF template body first-line-indent to 2em (all: true).
- Change default PDF bookmark depth from 1 to 2 in CLI and build_pdf.
- Extend docx post-processing to copy Normal style typography from reference-doc,
  format headings/references, and handle BodyText paragraphs.
This commit is contained in:
Zhengshou Lai
2026-06-09 14:38:35 +08:00
parent fc4dab1629
commit 322cd31bb2
5 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -83,8 +83,8 @@
lang: "zh",
)
// Body rhythm: spacing > leading; first-line indent = Typst default (none)
set par(justify: true, leading: 0.78em, spacing: 1.12em)
// Body rhythm: spacing > leading; first-line indent = 2em for Chinese paragraphs
set par(justify: true, leading: 0.78em, spacing: 1.12em, first-line-indent: (amount: 2em, all: true))
// List rhythm: spacing ≥ leading (0.78em), looser than line height for readability
set list(indent: 1.2em, body-indent: 0.45em, spacing: 0.90em)