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
{{ message }}
Repository navigation
Incorrect introspection in outline for headings using weak page breaks #4527
Could you please reopen this issue? My outline spans two pages, and the numbering is off by one until the page numbering switches from Roman numerals ("I") to Arabic numerals ("1"). Once the switch occurs, the problem disappears, and the counter resets correctly at the introduction.
I've pinpointed the issue: everything was functioning correctly, but I mistakenly relied on a template, assuming it was properly configured. It turns out the creator began the page numbering at 0 and neglected to add page breaks after the outlines, even though the pages were separated. This led to the problem I encountered, but it’s not related to Typst.
Activity
Coekjan commentedon Jul 9, 2024
I used
git bisectto find out that the bug was introduced at a52987a .laurmaedje commentedon Jul 9, 2024
Yeah, I know what the bug is. The
Tagends up before the pagebreak in the new system. Need to find some way to deal with that.partially fix undergraduate outline
Sagmedjo commentedon Aug 28, 2024
Could you please reopen this issue? My outline spans two pages, and the numbering is off by one until the page numbering switches from Roman numerals ("I") to Arabic numerals ("1"). Once the switch occurs, the problem disappears, and the counter resets correctly at the introduction.
I'm using version 0.11.1.
tingerrr commentedon Aug 28, 2024
Could you post an MRE?
Sagmedjo commentedon Aug 28, 2024
Sorry, what do you mean by MRE?
laurmaedje commentedon Aug 28, 2024
The open/close status of issues reflects the state of the main branch. Please check if the issue persists if you compile Typst from the main branch.
MRE = Minimum Reproducible Example
Sagmedjo commentedon Aug 28, 2024
I've pinpointed the issue: everything was functioning correctly, but I mistakenly relied on a template, assuming it was properly configured. It turns out the creator began the page numbering at 0 and neglected to add page breaks after the outlines, even though the pages were separated. This led to the problem I encountered, but it’s not related to Typst.
Apologies for any confusion.