#How can I get current page number in header of page
5 messages · Page 1 of 1 (latest)
Do you want to get the page number or the chapter number?
chapter number. I type each chapter in separate file and include that files in main typ file.
counter(heading).get().first()
always get me zero
did you have a look at https://typst.app/universe/package/hydra/ already? It can probably do what you want
Yes. but In this package I didn't find heading counter