Repository navigation
feat(recipe): add --paper-size and --margin flags for LaTeX/Typst output - #382
Conversation
Both formats hardcoded a4 paper and 2.5cm margins with no way to override them, so PDFs couldn't be tuned for different paper sizes or print layouts without hand-editing the generated LaTeX/Typst. Fixes #379
Review:
|
Summary
-p, --paper-size <a4|letter|a5|legal>and-m, --margin <CM>flags tocook recipe reada4paper and 2.5cm margins with no way to override themFixes #379
Test plan
cargo fmtcargo clippy --all-targets -- -D warningscargo test(full suite, including new tests for default/custom paper size/margin on both formats, and the unrelated-format warning)