Forum Discussion
marcvsantonivs
Sep 18, 2023Copper Contributor
Section page number and total page number
Hi, I wanted to add page numbering in all my sections with the total number to see where I am in each individual section. (for example Section II, page 3 of 7). I succeeded in that. But I also want...
- Sep 19, 2023
Sorry, I missed that you were looking for page numbers and essentially what should be a SectionPage field (there is no such field). Greg Maxey wrote a very nice page on how to do this.
Charles_Kenyon
Sep 18, 2023Bronze Contributor
First, section page numbering is an anachronism from printed manuals where individual sections are expected to be updated by people who believe they have better things to do.. This can lead to major trouble, because people just don't do that. See I want to include the chapter number with the page number in the Header - how can I do this? by John McGhie, MVP.
That said, you need the SectionPages and NumPages fields.
- Pagination Fields is my writing on the various fields involved with pagination of documents.
- marcvsantonivsSep 18, 2023Copper Contributor
Charles_Kenyon Thanks for your answer! Maybe I am not understanding it correctly, but I still am not able to number the document in the two ways I want to.
I want to number the pages through the whole document from 1 to {numpages}
Additionally, I want to have the section page number and the {sectionpages} on each page as well.
I seem to be only able to use {pages} for one of the two, but not for both in a document.
An Example with a few pages.
1st Page belongs to Section 1, Numbering that would show is: Page 1, Page 1 of 2 in Section 1
2nd Page belongs to Section 1, Numbering that would show is: Page 2, Page 2 of 2 in Section 1
3rd Page belongs to Section 2, Numbering that would show is: Page 3, Page 1 of 1 in Section 2
4th Page belongs to Section 3, Numbering that would show is: Page 4, Page 1 of 3 in Section 3
5th Page belongs to Section 3, Numbering that would show is: Page 5, Page 1 of 3 in Section 3
6th Page belongs to Section 3, Numbering that would show is: Page 6, Page 1 of 3 in Section 3
- Charles_KenyonSep 19, 2023Bronze Contributor
Sorry, I missed that you were looking for page numbers and essentially what should be a SectionPage field (there is no such field). Greg Maxey wrote a very nice page on how to do this.