Guides (trim/safe-zone/spine lines) are design references only and
must not appear in the submitted PDF — hidden via display:none.
Barcode placeholder is now an empty white box so KDP can place the
ISBN barcode automatically without printing a label.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
scripts/cover.js computes the exact cover canvas dimensions from the
page count in book-meta.json (written by build.js), using the KDP
Premium Color spine formula (0.002347 in/page), and renders a
Nunjucks template to a single PDF containing back cover, spine, and
front cover with bleed (0.125 in) and safe-zone overlay guides.
- `pnpm cover` — generate output/cover.pdf
- `pnpm all` — build interior + both PDFs in one command
- Cover artwork slots: images/cover/front.png, images/cover/back.png
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Covers book description (HTML-formatted for Amazon listing), 7 keyword
phrases, BISAC categories, price recommendations per market, back cover
copy, A+ Content ideas, and a pre-publication checklist.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds the full authoring and build toolchain for "Das Kaleidoskop der
Schlummerwelten" — all 12 story content files in Markdown, Nunjucks
HTML templates, CSS print layout, and Puppeteer-based PDF generation
targeting Amazon KDP (8.5×8.5 in, 0.125in bleed).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>