# Print Layout Automation

BookSetter™'s print goal is not only a valid PDF. It is a printer-safe, visually balanced interior with Vellum-level automation plus explicit diagnostics.

- Mode: professional-print
- Trim: 6x9
- Estimated pages: 534
- Print risk level: high
- Margins: inside 1.040in, outside 0.660in, top 0.780in, bottom 0.840in
- Binding note: very large page count; inside margin expanded for binding swell

- Proofing status: warning (14 checks, 16 overlay layers, 8 pending rendered-page checks)

## Active Automation

- **Binding-aware margins**: resolve inside/outside/top/bottom margins from trim and page count. Validation: geometry and PDF safe-area checks.
- **Caption attachment**: figure minipage/Needspace/caption setup. Validation: figure and caption score.
- **Edition folios**: roman front matter, arabic main matter, bottom outside main folios. Validation: front/main page numbering proof.
- **Running head suppression**: fancyhdr with plain/empty/opener suppression. Validation: forbidden page class scan.
- **Paragraph runt prevention**: nonbreaking final short-word joins in print source. Validation: runt risk count.
- **Clarified scene breaks**: replace anonymous rules with explicit centered print scene marker. Validation: scene-break count and boundary proof.
- **Final page balancing**: chapter-end balance hook and rendered-page scoring. Validation: short final chapter risk.
- **Spread balance**: flushbottom where safe plus rendered spread scoring. Validation: spread score and density delta.
- **Subhead keep-with-next**: Needspace before section/subsection headings. Validation: stranded subhead count.
- **Widow/orphan control**: LaTeX penalties plus keep-together diagnostics. Validation: layout report widow/orphan risk.

## Risks

- 158 paragraph runt risk(s) will receive print-only nonbreaking final-word joins.
- 6 chapter(s) may have short final pages; balancing hooks are active.

## Acceptance Gates

- no text outside safe area
- no detached captions
- no running heads on forbidden pages
- widow/orphan penalties active
- subheads request enough following space
- scene breaks remain visible at page boundaries
- short final chapter pages receive balancing hooks
- PDF preflight passes before production claim
