bindery icon indicating copy to clipboard operation
bindery copied to clipboard

Suggestion: Support dynamic or section-scoped page numbering

Open broskoski opened this issue 6 years ago • 2 comments

First of all, thank you for this amazing library. Seriously, well done 🎩

I'm looking for a way to customize where the page count starts on the running header (or somehow offsetting it). In our designs, the cover, title page, table of contents should not count towards page numbers. The problem is that a table of contents can be variable page length, so offsetting the count manually probably wouldn't work.

Can you think of any way of approaching this problem?

broskoski avatar Oct 08 '19 14:10 broskoski

Glad you're making use of it @broskoski! Good question. If I'm understanding correctly, you want to customize the page number both in the running header and in the table of contents itself, right?

It seems like:

  1. Someone should be able to number groups of pages separately, and to format those ranges in a custom way (ie to achieve something like, i, ii, iii, iv, 1, 2, 3, 4 )
  2. both PageReference and RunningHeader should be able to access those numbers.

does that feel like a fair summary?

evnbr avatar Oct 08 '19 17:10 evnbr

@evnbr yes, perfect summary!

broskoski avatar Nov 25 '19 21:11 broskoski