summaryrefslogtreecommitdiff
path: root/tests/typ/bugs/pagebreak-numbering.typ
blob: d805c2c6b16bc57b8c8d02ccf256f88e3c3c6ae1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// https://github.com/typst/typst/issues/2095
// The empty page 2 should not have a page number

#set page(numbering: none)
This and next page should not be numbered

#pagebreak(weak: true, to: "odd")

#set page(numbering: "1")
#counter(page).update(1)

This page should