SOLVED

Section page number and total page number

Copper Contributor

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 the page number of the whole document on each page, and I could not find a way to achieve that as well.

 

Can somebody help?

5 Replies

@marcvsantonivs 

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....

 

That said, you need the SectionPages and NumPages fields.

  • Pagination Fields is my writing on the various fields involved with pagination of documents.

@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

 

best response confirmed by marcvsantonivs (Copper Contributor)
Solution

@marcvsantonivs 

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.

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

Look at Greg's article. It tells how to do this.
It is not simple, but can be done.
1 best response

Accepted Solutions
best response confirmed by marcvsantonivs (Copper Contributor)
Solution

@marcvsantonivs 

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.

View solution in original post