-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingstylingAbout set and show rules or style propertiesAbout set and show rules or style properties
Description
Description
Some text on page 1
#pagebreak(to: "odd") //we should now be on page 3
#set page(fill: orange) // This sets the file from page 2...
this is some text on page 3
Expected result: Pages 1 and 2 should be white, and page 3 should be orange.
Actual result: Page 1 is white, but page 2 is Orange.
Some text on page 1
#pagebreak()
#pagebreak(to: "odd") //we should no be on page 3
#set page(fill: orange) // This sets the file from page 2...
this is some text on page 3
Putting an explicit page break before the pagebreak(to:"odd") exhibits the correct behaviour (1&2 white, 3 orange)
Some text on page 1
#pagebreak()
#pagebreak(to: "odd", weak: true) //we should no be on page 3
#set page(fill: orange) // This sets the file from page 2...
this is some text on page 3
adding "weak:true" to the page break exhibits the same behaviour as the error case (1 white, 2 and 3 orange)
putting any text between the two pagebreaks ensures that the page colours are correct, but now there is unwanted text.
Reproduction URL
n/a
Operating system
Web app
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstylingAbout set and show rules or style propertiesAbout set and show rules or style properties