Skip to content

Pagebreak to does not behave correctly (again) #2473

@Zheoni

Description

@Zheoni

Description

This example code:

#set page(paper: "a8", numbering: "1")

= Part 1
#lorem(45)

#pagebreak(to: "odd", weak: true)
= Part 2
#lorem(20)

In 0.8.0 renders:
image

But after #2182:
image

It seems like solving one thing broke another 😭

Reproduction URL

No response

Operating system

Windows

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtextRelated to the text category, which is all about text handling, shaping, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions