Headers/Footers/Page Numbers

M

Marielot

I am creating a document with multiple sections. I need the header for each section to contain a field showing "X of Y pages", but I need the bottom footer to display "X or Y pages" for the whole document. How do I create both auto page numbering formats?
 
G

garfield-n-odie

Hi, Marielot. In the header you could use the fields { PAGE } of { SECTIONPAGES } with the PAGE number set to restart numbering at 1 in each section, and in the footer you could use the fields { PAGE } of { NUMPAGES } with the PAGE number set to continue numbering from the previous section.
 
J

Jezebel

Formatting the page number to 'continue from previous section' vs 'start at
x' applies to ALL page number fields in the section. You can't have
different settings for page numbers in the header and footer within the same
section.

You could do the page number within the section by inserting a bookmark to
something on the first page of the section, then using a formula field:

{ = {PAGE} - {PAGEREF SectionHead1} + 1}

You'd have to set this up separately for each section (different bookmark
name, different header). It feels like there ought to be a way to do it for
the entire document (using a StyleRef field?) but I can't think of one.



garfield-n-odie said:
Hi, Marielot. In the header you could use the fields { PAGE } of {
SECTIONPAGES } with the PAGE number set to restart numbering at 1 in each
section, and in the footer you could use the fields { PAGE } of { NUMPAGES }
with the PAGE number set to continue numbering from the previous section.each section to contain a field showing "X of Y pages", but I need the
bottom footer to display "X or Y pages" for the whole document. How do I
create both auto page numbering formats?
 
M

Marielot

Sorry, this didn't work for me. I typed the first page, then inserted a page/break/next page for a new page. I format that page with New page/Different from first page. I entered (page) of (numb of pages). I unhighlighted the (same as previous" and then tried to enter a new (page) of "number of pages). Still got the wrong display. What did I do wrong? Thanks for your fast help.
 
G

garfield-n-odie

Hi, Marielot. Sorry for the bum steer. For some reason I thought I had done it this way before, but Jezebel's post explains why it doesn't work and includes a different way to try.
 
Top