- spec: new section 2.2 style table (WA Chapter/Section/NChp Pgr/Nrml Pgr/
Thkng + TOC mapping), margins 0.40/0.40/0.375 + 0.25 header-footer
distance, dynamic gutter resolution procedure, header Caladea 10pt caps,
footer 11pt, justified body without auto-hyphenation, WA Section reserved
for scene breaks.
- formatter: WA_STYLES rebuilt to the spec values (next-style chain, outline
level on WA Chapter, automatic color, widow control); content assigned by
style reference with direct paragraph/run formatting removed; scene breaks
use WA Section; TOC entries use WA TOC; auto-hyphenation removed; new page
setup constants; header ALL CAPS 10pt / footer 11pt.
- format_document: inside/gutter margin now computed from the final page
count (build -> render -> recompute fixed point, cap 3, settle on larger
gutter on oscillation); inner_margin input ignored (UI selector removed).
- tests: 68 pass, incl. style-family value tests and mocked gutter-loop tests.
- Spec §4.1: running headers carry titles only (recto: chapter/section
title; verso: author name + book title); page-number fields removed
from headers.
- Spec §4.2: page numbers centered in the footer on both verso and recto
pages; front-matter display pages (copyright, dedication, epigraph,
TOC) show their Roman numeral on the opening page too.
- Spec §2.2: lowercase Roman numbering visible from the copyright page
through the front matter; Chapter 1 restarts at Arabic 1.
- Chapter/back-matter sections keep running matter on body pages; only
the first page of each chapter is suppressed (spec §4.3).
- Drop titlePg on single-page front-matter display sections so footer
page numbers render in LibreOffice and Word alike.
- Preserve <<<>>> scene-break cues (centered, 12pt before/after) and
first-word-only capitalization of chapter openers.
- UI: remove the obsolete "Page Numbers" selector; footer_mode is
accepted-but-ignored for backward compatibility.
- Tests updated to the new spec behavior (51 pass).