Multiple Page Numbers on One Page

D

Debra Ann

If this is a repeat, sorry. I got an error when I tried to post so I don't
know if it went through or not ...

Anyways, I've been requested to create a template that has more than one
page set on a page. For instance, I'm on Page 6 of a 150-page document.
Page 6 through 12 are Attachment 1. The header would look like this:

Page 6 of 150
Attachment 1, Page 1 of 6

Can this be done?

Thanks,
 
D

Debra Ann

After trying the information in the link you sent to me, I realized it
explains how to get to different "total page" counts ... but only explains
how to get one type of page number. In the status bar of my document, it
will tell me:

Page 1 Sec 2 3/7

I want to be able to display all of these four number types but the "3"
(which is the actual page of the document) will not show.

Page 3 of 7 (actual page number, actual total pages)
Sheet 1 of 3 (first page of section, total page of section)

Do you know the code for the actual page number of the document?
I can get everything but the "actual page number" part
 
J

John McGhie [MVP - Word and Word Macintosh]

Debra Ann:

You HAVE the "actual page number", that's the { PAGE } field :)

What YOU need to do is understand how to use Section Breaks to manipulate
things so that the PAGE field shows you the number you want.

There are two other fields you may be interested in: NUMPAGES and
SECTIONPAGES. The first gives you the number of pages in a document
regardless of how many sections it contains. The second gives you the
number of pages in the current section.

But let me ask you: WHY are you making things so difficult for your READER?
Why are you writing this? Is it for the reader? Why do you have page
numbers? Why does the reader need to know the page numbers at all? Yes, I
do mean you to ask the question: the answer is *not* "obvious" :) What
will the reader use the page numbers for? Will YOU use the page numbers?
What for?

If you actually ask these questions when you are designing a document:
really ask them, without jumping to any conclusions, you often learn
something very interesting :) I have not seen a document produced in the
past five or ten years that would not work dramatically better for everyone
if it had only one page number sequence that began at "1" inside the front
cover and ended with the last number in an unbroken sequence.

Thirty years ago, when hot-metal Letter Press was still in use, there was a
purpose to these funny page numberings. There is NO point to them at all
using current technology.

You may wonder why fashion magazines keep doing it these days? They don't
have to! They will make a very plausible excuse "Oh, it means the pages can
be made up in advance by the advertising agency and sent to the printer
independently of the editorial pages, before we know what the page number
will be." Bulldust!! The printing machinery doesn't compile anything until
the entire content is available, and it recomputes all the page numbers
automatically at that moment.

The real reason is to disable the page numbers, to force readers to flip
through the adds searching for the article they saw on the front cover :)

Cheers


After trying the information in the link you sent to me, I realized it
explains how to get to different "total page" counts ... but only explains
how to get one type of page number. In the status bar of my document, it
will tell me:

Page 1 Sec 2 3/7

I want to be able to display all of these four number types but the "3"
(which is the actual page of the document) will not show.

Page 3 of 7 (actual page number, actual total pages)
Sheet 1 of 3 (first page of section, total page of section)

Do you know the code for the actual page number of the document?
I can get everything but the "actual page number" part

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
D

Debra Ann

Sorry but I do need both sets of numbering, one for "Page x of y" and the
other for tables that are 50 pages of code and the table pages read "Sheet x
of y". Both are required.

This is not a story I am writing for some reader to enjoy. These reports
are for nuclear engineers who are looking at 1,000-3,000 page documents with
many many tables each totalling 20-50 pages a piece and each table looking
like the other. The engineers insist on both of these page counts so they
know how far to scoll to get to the next table.

Since I want each section to start at 1 for the "Sheet 1 of y" count, the
actual page, or {PAGE} as you say, will show me Page 1 of 2,000 and not Page
50 of 2,000. I need the "50". I already know how to use the {PAGE},
{PAGENUM}, and {SECTIONPAGES}. I just need the one other number that I can't
seem to get.


--
Debra Ann


John McGhie [MVP - Word and Word Macinto said:
Debra Ann:

You HAVE the "actual page number", that's the { PAGE } field :)

What YOU need to do is understand how to use Section Breaks to manipulate
things so that the PAGE field shows you the number you want.

There are two other fields you may be interested in: NUMPAGES and
SECTIONPAGES. The first gives you the number of pages in a document
regardless of how many sections it contains. The second gives you the
number of pages in the current section.

But let me ask you: WHY are you making things so difficult for your READER?
Why are you writing this? Is it for the reader? Why do you have page
numbers? Why does the reader need to know the page numbers at all? Yes, I
do mean you to ask the question: the answer is *not* "obvious" :) What
will the reader use the page numbers for? Will YOU use the page numbers?
What for?

If you actually ask these questions when you are designing a document:
really ask them, without jumping to any conclusions, you often learn
something very interesting :) I have not seen a document produced in the
past five or ten years that would not work dramatically better for everyone
if it had only one page number sequence that began at "1" inside the front
cover and ended with the last number in an unbroken sequence.

Thirty years ago, when hot-metal Letter Press was still in use, there was a
purpose to these funny page numberings. There is NO point to them at all
using current technology.

You may wonder why fashion magazines keep doing it these days? They don't
have to! They will make a very plausible excuse "Oh, it means the pages can
be made up in advance by the advertising agency and sent to the printer
independently of the editorial pages, before we know what the page number
will be." Bulldust!! The printing machinery doesn't compile anything until
the entire content is available, and it recomputes all the page numbers
automatically at that moment.

The real reason is to disable the page numbers, to force readers to flip
through the adds searching for the article they saw on the front cover :)

Cheers


After trying the information in the link you sent to me, I realized it
explains how to get to different "total page" counts ... but only explains
how to get one type of page number. In the status bar of my document, it
will tell me:

Page 1 Sec 2 3/7

I want to be able to display all of these four number types but the "3"
(which is the actual page of the document) will not show.

Page 3 of 7 (actual page number, actual total pages)
Sheet 1 of 3 (first page of section, total page of section)

Do you know the code for the actual page number of the document?
I can get everything but the "actual page number" part

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
J

John McGhie [MVP - Word and Word Macintosh]

Hi Debra Ann:

This is not a story I am writing for some reader to enjoy. These reports
are for nuclear engineers who are looking at 1,000-3,000 page documents with
many many tables each totalling 20-50 pages a piece and each table looking
like the other.

Yeah. That's the kind of document I have been doing for a living for the
past 30 years :)

You may need to use Computed Page Numbers, not Section Breaks. If you place
a bookmark at the "end" of a series, you can then return its page number
using a cross-reference field.

If you take the value of that cross-reference field, you can manipulate it.

For example, the following construct returns the page number of the page
containing the bookmark "targetPage" less the page number of the current
page. Be careful of the spacing: spaces are significant in this syntax.

{ ={ PAGEREF targetPage } ­ { PAGE }}

So if you had NO section breaks, you would have pages 1 to 2000. In Section
2, which starts on page 55, you would show the page number as
Page { ={ PAGEREF s2 } ­ { PAGEREF s1 } + 1 } which would resolve to "55".

The "of Y" bit becomes: { ={ PAGEREF s3 } ­ { PAGEREF s2 }}

The fields are easier to construct if you allow the page numbers to run
unchanged from start to finish in the document. You never print the
"actual" page number, only the computed differences between the appropriate
bookmarks. You need a bookmark at the beginning of each "section".

Alternatively, you can keep your Section Breaks, but then you need to use a
SECTIONPAGES field in each section, to return the number of pages in that
section, and use that in your computation.
The engineers insist on both of these page counts so they
know how far to scoll to get to the next table.

Well, if they're "scrolling" the document, why would you not insert a
Hyperlink so they can "Click" to get there? They don't want to know the
page number, they just want to get there :)
Since I want each section to start at 1 for the "Sheet 1 of y" count, the
actual page, or {PAGE} as you say, will show me Page 1 of 2,000 and not Page
50 of 2,000. I need the "50". I already know how to use the {PAGE},
{PAGENUM}, and {SECTIONPAGES}. I just need the one other number that I can't
seem to get.

You can fudge it like this:

{ ={REF s1NumPages } + { PAGE }}
where "REF s1NumPages" is a cross reference field that returns the TEXT of
a SECTIONPAGES field embedded in Section 1.

Hope this helps

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
C

Charles Kenyon

D

Debra Ann

Thanks for your help. I try your suggestions.


--
Debra Ann


John McGhie [MVP - Word and Word Macinto said:
Hi Debra Ann:

This is not a story I am writing for some reader to enjoy. These reports
are for nuclear engineers who are looking at 1,000-3,000 page documents with
many many tables each totalling 20-50 pages a piece and each table looking
like the other.

Yeah. That's the kind of document I have been doing for a living for the
past 30 years :)

You may need to use Computed Page Numbers, not Section Breaks. If you place
a bookmark at the "end" of a series, you can then return its page number
using a cross-reference field.

If you take the value of that cross-reference field, you can manipulate it.

For example, the following construct returns the page number of the page
containing the bookmark "targetPage" less the page number of the current
page. Be careful of the spacing: spaces are significant in this syntax.

{ ={ PAGEREF targetPage } ­ { PAGE }}

So if you had NO section breaks, you would have pages 1 to 2000. In Section
2, which starts on page 55, you would show the page number as
Page { ={ PAGEREF s2 } ­ { PAGEREF s1 } + 1 } which would resolve to "55".

The "of Y" bit becomes: { ={ PAGEREF s3 } ­ { PAGEREF s2 }}

The fields are easier to construct if you allow the page numbers to run
unchanged from start to finish in the document. You never print the
"actual" page number, only the computed differences between the appropriate
bookmarks. You need a bookmark at the beginning of each "section".

Alternatively, you can keep your Section Breaks, but then you need to use a
SECTIONPAGES field in each section, to return the number of pages in that
section, and use that in your computation.
The engineers insist on both of these page counts so they
know how far to scoll to get to the next table.

Well, if they're "scrolling" the document, why would you not insert a
Hyperlink so they can "Click" to get there? They don't want to know the
page number, they just want to get there :)
Since I want each section to start at 1 for the "Sheet 1 of y" count, the
actual page, or {PAGE} as you say, will show me Page 1 of 2,000 and not Page
50 of 2,000. I need the "50". I already know how to use the {PAGE},
{PAGENUM}, and {SECTIONPAGES}. I just need the one other number that I can't
seem to get.

You can fudge it like this:

{ ={REF s1NumPages } + { PAGE }}
where "REF s1NumPages" is a cross reference field that returns the TEXT of
a SECTIONPAGES field embedded in Section 1.

Hope this helps

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 

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