Quote:
Originally Posted by fumei
fumei my understanding is that the OP wants the number in the header to be the page number in the section, and in the footer the page number in the document.
Yes, and I have in front of me a document with two sections. The total number of pages (Section and Section 2) is 17. Section 2 starts at the 17th page.
In the header of Section 2, the first page shows its page number as 1 - as Section 2 restarts the count at 1. The value is Page Number.
In the footer - ALSO in Section 2 - the number shows as 17. The value is Number of Pages.
Page Number reflects the page number of the current section.
Number of Pages reflects the number of pages in the document.
|
Number of pages in the document (a total) is not the same as which page this one is in the document. A page could be page 3 of the chapter and page 205 of the document which contains a total of 455 pages. The OP wants the header to reflect the page 3, and the footer to reflect page 205.
The number of pages is given by the NUMPAGES field. The number of pages in the section is given by the SECTIONPAGES field. The page number (which can be restarted) is given by the PAGE field. If the PAGE field were not restarted, the sequential number of this page (205) would be given by the PAGE field. Since it has been restarted, that field will only give the new number (3). The question is how to get both the 3 and the 205 on the same page in the same document.
The OP may also want to display the number of pages in each section (SECTIONPAGES) and the number of pages in the document (NUMPAGES) but neither is a part of the question.