mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-29 19:34:29 +01:00
make-pdf: bold Swiss-style layout by default, --style plain keeps the old look (GST-3770) (#4820)
make-pdf now prints in a bold Swiss-style layout by default: black bars for section headings, small red sub-headings in a left column beside the text, a large cover title, and a shorter, easier line. Generated documents should look designed, not default; Garry picked this look over today's in two rounds of blind comparisons. Nothing to do: pass `--style plain` to get exactly the PDF you got before. Word output always uses the plain look. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=red-team Review-Finding: p1/specialist-batched#2 reader=design-checklist Review-Finding: p2/red-team#1 reader=red-team Review-Finding: p2/outside-voice#1 reader=outside-voice Review-Finding: p2/outside-voice#2 reader=outside-voice Review-Finding: p2/outside-voice#3 reader=outside-voice Review-Finding: p2/outside-voice#4 reader=outside-voice Review-Finding: p2/adversarial-native#3 reader=adversarial-native Review-Finding: p2/specialist-batched#1 reader=specialist-batched
This commit is contained in:
1 parent
64fe9e5231
commit
80fd754fd1
26 files changed
+1279
-38
No files matched your search
+1
-1
@@ -1300,7 +1300,7 @@ macOS may prompt for Keychain approval; Linux uses its supported keyring/fallbac
|
||||
|
||||
## `/make-pdf`
|
||||
|
||||
Turn any markdown file into a publication-quality PDF: proper margins, page numbers, cover page, clickable TOC, mermaid and excalidraw fences rendered as vector diagrams, `--to html|docx` when you need another format. The compiled `pdf` binary does the typesetting; the printing happens in a browser — your Aside browser first. make-pdf serves the finished HTML from your machine on loopback, opens it in a tab Aside closes when it is done, prints through the browser's own PDF engine (tagged PDF, document outline, header and footer templates all intact), and copies the file out. Nothing leaves the box. When Aside is absent (Linux, Windows, or the app closed) the same pipeline prints through gstack's bundled browser instead, so a PDF comes out on every platform. Full guide to fences and formats: [howto-diagrams-and-formats.md](howto-diagrams-and-formats.md).
|
||||
Turn any markdown file into a publication-quality PDF: proper margins, page numbers, cover page, clickable TOC, mermaid and excalidraw fences rendered as vector diagrams, `--to html|docx` when you need another format. The default look is a bold Swiss layout (white-on-black section bars, red accents, sub-headings in a narrow left field); `--style plain` keeps the earlier quiet look, and Word output always uses plain. The compiled `pdf` binary does the typesetting; the printing happens in a browser — your Aside browser first. make-pdf serves the finished HTML from your machine on loopback, opens it in a tab Aside closes when it is done, prints through the browser's own PDF engine (tagged PDF, document outline, header and footer templates all intact), and copies the file out. Nothing leaves the box. When Aside is absent (Linux, Windows, or the app closed) the same pipeline prints through gstack's bundled browser instead, so a PDF comes out on every platform. Full guide to fences and formats: [howto-diagrams-and-formats.md](howto-diagrams-and-formats.md).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user