typst / typst/typst

Print columns across full-page spreads should be the same length

Open
#3,550 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request layout
Dominant language
Rust
Stars
56.1k
Forks
1.7k
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Description

I use typst to typeset novels. When the widow/orphan/slug catcher runs, opposing full pages in a given spread will be different numbers of lines long. The bottom of each full page should line up across pages 2-3 and so on, (which face each other.) It looks bad otherwise. Not bad enough to send me back to LaTeX, which does this correctly, but bad.

Use Case

Useful for anyone typsetting books or pamphlets with facing pages.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points; begin by locating the pagination and widow/orphan/slug-catcher logic in the Typst codebase. Done means opposing full-page spreads have equal line lengths while preserving the stated catcher behavior, with regression coverage for facing pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.