- DriveThruRPG PDF, generated from the same source. New
/skirmish/book
route renders the whole Skirmish rulebook on one page — a cover, then every
chapter in reading order, each starting on a fresh page — reusing the shared
print stylesheet so the PDF matches the site's print output. npm run pdf
builds, then scripts/make-pdf.mjs serves dist/ and drives headless Chrome
to print it to pdf/pilgrimage-skirmish-v1.pdf (A5). Zero new dependencies
(shells out to an installed Chrome/Chromium, in the spirit of
sync-notion.mjs); falls back to system fonts if Google Fonts can't be
reached. pdf/ is gitignored — the PDF is a build artifact. Full notes in
PDF.md. The per-chapter "Terms on this page" appendix is suppressed in the
book (it carries the full glossary chapters).
- Page-break follow-up (review): large tables now flow and break *between
rows* rather than jumping whole to the next page — a chapter that is "short
intro + one big table" (e.g. Effects) no longer strands its heading on a
near-empty page. Rows themselves are still never split.
- Book/PDF now A4, two-column (review): the DriveThruRPG book page prints as
A4 at 9 pt in two balanced columns, with chapter headings and wide tables
spanning the full width — a denser, more rulebook-like format that roughly
halves the page count vs single-column A5 (~57 → ~33 pages). The per-chapter
website print is unchanged (single-column A5).
- Print button on the content pages. A small reusable
PrintButton
(window.print() → the dialog also offers "Save as PDF") now sits in the
apparatus rail of every rules chapter and in the header of the reference and
glossary pages. Hidden in the printed output; needs no layout of its own. The
rules index links to the new one-page book/print view.
- Refactor: the prose typography + print rules moved to a shared
src/styles/rules-content.css, imported by both the reading view and the book
page, so the per-page and PDF print output can't drift. Verified byte-identical
per-chapter output after the move.