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:
+2
-2
@@ -222,12 +222,12 @@ def build_pdf(
|
||||
template: str,
|
||||
inputs: list[Path],
|
||||
output: Path,
|
||||
bookmark_depth: int = 1,
|
||||
bookmark_depth: int = 2,
|
||||
) -> None:
|
||||
"""Build PDF from Markdown using Typst.
|
||||
|
||||
``bookmark_depth`` controls outline expansion: ``1`` keeps only top-level
|
||||
bookmarks visible (default), ``2`` expands to second level, and so on.
|
||||
bookmarks visible, ``2`` expands to second level (default), and so on.
|
||||
"""
|
||||
templates_dir = templates_registry.get_md_to_pdf_root()
|
||||
template_file = templates_dir / template / "template.typ"
|
||||
|
||||
Reference in New Issue
Block a user