Book Structure

Formal manuscript conventions for books, chapters, acts, and EPUB emission.

Book Structure

Registry

FieldValue
scopebooks-source-and-epub-output
statusactive
ownerbooks-section
versionbooks-structure-01

Source Convention

LevelPathRule
bookbooks/<slug>/book.jsonbook-wide metadata such as title, author, and description lives here
chapterbooks/<slug>/chapters/<nn-slug>/chapter.jsoneach chapter folder carries structure metadata such as act, chapter label, chapter title, and running head
pagebooks/<slug>/chapters/<nn-slug>/<nnn-page-...>.mdeach file is a content page, not a TOC chapter by default

Chapter Metadata

FieldMeaning
actLabeloptional act marker such as Act I
chapterLabelchapter kicker such as Chapter 2 or Prologue
chapterTitlemain chapter opener title
chapterSubtitleoptional subtitle shown on the opener page
runningHeadshort label used for story-page orientation and reader UI
tocTitletitle exposed in the EPUB table of contents

Page Frontmatter

FieldMeaningDefault
pageprinted folio number for the manuscript pagederived from filename
titleoptional scene/page title stored as metadataderived from heading or filename slug
displayTitlewhether that page title should render visibly on the pagefalse

Page Content Rule

PartRule
lead imageif a page has art, place it as the first markdown image in the file
placeholderif a page has no art yet, the EPUB builder emits a default illustration frame instead of collapsing the slot
bodystory text follows the image slot and should read correctly even when the art is still pending

EPUB Rules

RuleResult
chapter opener pages are emitted from chapter.jsonthe TOC reflects actual chapter structure
story pages are emitted after the opener and excluded from TOCthe reader does not treat every page file like a chapter
page titles render only when displayTitle: truegeneric Page 2 headings do not become giant visible titles
every story page reserves one illustration slot before the bodythe reader keeps a consistent paperback rhythm even when art is missing
running heads and folios remain subtlethe layout reads more like a paperback than a document preview