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
If the first page is an explicit #page call state and counter updates before it are ignored #2172
The resulting document has only one page and the number is 0, when it should be 10. The same also happens with states.
My guess is that typst removes the first page if it only contains whitespace to not have an empty page before the first page it the document starts with an explicit #page call, though I have not verified if this is really what's happening.
If this is the reason possible solutions would be to either not threat state/counter updates as whitespace in this context (so the above snippet would start with an "empty" page containing only the update) or to automatically move the update into the page.
Same as #2134, this was caused by #1929 and is unfortunately not fixed by #2141. Bit of a similar issue as the second snippet in #1929 (comment). Like you said, the explicit page leads to stuff around it being deleted.
Activity
laurmaedje commentedon Sep 18, 2023
Same as #2134, this was caused by #1929 and is unfortunately not fixed by #2141. Bit of a similar issue as the second snippet in #1929 (comment). Like you said, the explicit
pageleads to stuff around it being deleted.