Hi everyone,
I have a 26 page file. The first and second pages each have their own sections – one being the title page, the other being the table of contents page. Third page is the beginning of the third section and where I would like the page numbering to begin. Even though it’s a 26 page file, since I’m starting the numbering on page 3, I need the numbering to say x of 24 pages, ie. 26 minus the two beginning pages which I don’t want to number. I’ve inserted a footer with the following field code:
{ PAGE } of {={ NUMPAGES }-{PageRef S1}+{PageRef S2}}
… where S1 and S2 are bookmarks. I bookmarked the last few characters in each of section 1 and 2, so I could use them in the field code.
The problem is that when I use the code above, the numbering says:
1 of 27 pages
This can’t be right because there’s only 26 pages in the entire file.
I then tried to adjust the code by adding a set of parentheses like this:
{ PAGE } of {={ NUMPAGES }-({PageRef S1}+{PageRef S2})}
Now when I toggle the field code it reads:
1 of 23 pages
I can’t figure it out – I need it to say 1 of 24 pages. Can someone tell me what I might be doing wrong. Is the field code written incorrectly?
Would really apppreciate any help.
Thanks.