You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using show heading: {} to hide headings, they cause weird bugs with set page rules on newly created pages.
For instance :
#setpage(width: 5cm, height: 2cm)
#showheading: {}
Page 1 that should *not* have a header.
#pagebreak()
#heading("Random hidden heading")
#setpage(header: "This is the header")
Page 2 that *should* have a header.
#pagebreak()
Page 3 that *should* also have the header.
The "Page 2" does not have the header, because the heading kind-of starts a new page without content. The set page rule should automatically break a new page but actually does not.
I don't really understand the internals going on here but I think it's a bug with the compiler.
Reproduction URL
No response
Operating system
Linux
Typst version
I am using the latest version of Typst
The text was updated successfully, but these errors were encountered:
Description
When using
show heading: {}
to hide headings, they cause weird bugs withset page
rules on newly created pages.For instance :
The "Page 2" does not have the header, because the
heading
kind-of starts a new page without content. Theset page
rule should automatically break a new page but actually does not.I don't really understand the internals going on here but I think it's a bug with the compiler.
Reproduction URL
No response
Operating system
Linux
Typst version
The text was updated successfully, but these errors were encountered: