Skip to content

PDF: title page must be unbreakable #39

@stultus

Description

@stultus

Problem

The title page centering block is not wrapped in #block(breakable: false). If the metadata combination runs long (long title + author + director + contact), the block could split across pages. Title pages should never split.

Current state

src-tauri/src/screenplay/pdf.rs ~line 559 and the centered title content rendered afterwards do not enforce unbreakability.

Suggested fix

Wrap the centered title/credits content in #block(breakable: false)[...]. If the content still overflows, that becomes a separate bug we can diagnose (but silent splitting is worse than an overflow warning).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions