How to only number content pages?

I just want “1/1” page numbering on content pages. Then front-matter and bibliography can have something like “i” numbering.

My current attempt is

#set page(numbering: "i")

[front matter stuff]

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

[content]

#set page(numbering: none)
#counter(page).update(0)
#bibliography("bib.bib")

but that results in all content-page numbers being relative to the final value of the page counter e.g “27/4”, “43/4”, etc. if 4 bibliography pages. It feels like it should be straightforward, but I can’t figure out how.

Hello @NonDairyNeutrino ,

Please check if one of the two solutions suggested here: How can I switch from Roman to Arabic page numbers without breaking the total page count? solves your issue?

Potential duplicate.

1 Like

I was so close! That does exactly what I wanted! I think this would be a great addition to the docs as it seems like a common want and is small enough, and easy enough if you know about metadata and how to use the argument form of numbering(), but not sure where would be the best place.

1 Like