adding section page numbers

T

Tony

I have document with cover page, preliminary section and several sections of the main document. I would like to use page number with "of" i.e. page 1 of 56 where 56 is the total number of pages in the main document sections. I can not find any solution other then just entering the total manually. When it is changing I have to update it manually. Is there any way of taking of the total number of pages in document 1 for cover page and the number of pages in the first - preliminary page ? Or alternatively adding the numbers of pages in few sections ????

Thanks for suggestions.

Tony
 
M

macropod

Getting the page count for each page (ie page # of) is
enough using the std page-numbering tools, but getting an
overall page count for only that part of the document that
has numbered pages is a little trickier.

Assuming your numbered pages start at 1 in Section 2, and
you want to exclude Section one from the '# pages' part
of 'page # of # pages', what you need to do is to insert a
field like:
{SET BkMrk {SectionPages}}
into Section 1.

Then, in Sections 2 and later, the field for numbering
your '# pages' result should look something like:
{={PAGES}-(BkMrk}}

Cheers
-----Original Message-----
I have document with cover page, preliminary section and
several sections of the main document. I would like to use
page number with "of" i.e. page 1 of 56 where 56 is the
total number of pages in the main document sections. I can
not find any solution other then just entering the total
manually. When it is changing I have to update it
manually. Is there any way of taking of the total number
of pages in document 1 for cover page and the number of
pages in the first - preliminary page ? Or alternatively
adding the numbers of pages in few sections ????
 
T

Tony

Thank you for your help. I created field codes following your instruction but for some reasons I am getting field code error message in the second field. If it is not too much to ask could you please create blank document with just a footer which will have two sections and field codes you have recommended. This way I will be able to find what I am doing wrong. Thank you.

Please email the file directly to me on (e-mail address removed)

Tony
 
T

Tony

I have it working now. I was not entering field codes properly. Thank you for your advice.

Tony

----- macropod wrote: -----

Getting the page count for each page (ie page # of) is
enough using the std page-numbering tools, but getting an
overall page count for only that part of the document that
has numbered pages is a little trickier.

Assuming your numbered pages start at 1 in Section 2, and
you want to exclude Section one from the '# pages' part
of 'page # of # pages', what you need to do is to insert a
field like:
{SET BkMrk {SectionPages}}
into Section 1.

Then, in Sections 2 and later, the field for numbering
your '# pages' result should look something like:
{={PAGES}-(BkMrk}}

Cheers
-----Original Message-----
I have document with cover page, preliminary section and
several sections of the main document. I would like to use
page number with "of" i.e. page 1 of 56 where 56 is the
total number of pages in the main document sections. I can
not find any solution other then just entering the total
manually. When it is changing I have to update it
manually. Is there any way of taking of the total number
of pages in document 1 for cover page and the number of
pages in the first - preliminary page ? Or alternatively
adding the numbers of pages in few sections ????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top