Skip to main content
robertf65853221
Known Participant
February 3, 2020
解決済み

Can I number pages one way within a document and another way in the footer?

  • February 3, 2020
  • 返信数 2.
  • 975 ビュー

Hi everyone,

I have a problem: I have several individual short (less than 20 pages) docs each of which are numbered within a banner at the top of the doc:

Page x of y pages (using <$curpagenum> and <$lastpagenum>).

They are to be included in a book (with a few other longer chapters) that has continuous page numbering in the footer from the beginning of the book to the end, (as well as a TOC) .

It might kook like this:

Page 1 of 7, 2 of 7, 3 of 7 etc. but with page 234, 235, 236 etc in the footer. What ends up hapenning is the banners in the docs reflect the master book's page numbers instead.

This is a very large book, with hundreds of individual files totaling anywhere from 500 to 1500 pages.

Is there a way to create a book with this kind of double numbering scheme (as well as a generated TOC) without having to hard code it? I've tried turning the variables in the banner to text, but they get turned back to variables when I update the book, which results in the numbering getting screwed up. 

 

I'm working in FM 2019

 

Thanks,

 

Robert

 

このトピックへの返信は締め切られました。
解決に役立った回答 Bob_Niland

You're idea got my creative juices flowing...

 

First, I followed your instructions on creating the "Invisible" paragraph tag and the variable that uses it. Then I placed text boxes with another text flow [B] in the lower right corner of each page. I then connected the boxes in the order the pages go. Then I put the invisible paragraphs in the text flow and hit return until each had the appropriate page number.

 

Success!

 

Now we have to figure out the y in x of y pages without using the $lastpagenum variable

 

 


I've been using small Anchored Frames (Outside Column) , containing Text Frames, with ¶formats later set invisible, for other purposes.

re: …y in x of y pages…

If the final instance of your object can be cross-referenced, just create an Xref format of <$pagenum>, perhaps named PageNumOnly, and add " of  " and an Xref to that final instance.

返信数 2

frameexpert
Community Expert
Community Expert
February 4, 2020

You will probably need a scripting solution for double-numbering like this. If you want to explore this, please contact me offlist and we can schedule a web meeting. Thanks. rick at frameexpert dot com

robertf65853221
Known Participant
February 5, 2020

Hi Rick,

 

A scripting solution was not what I was looking for, but thank you for taking the time to reply.

Bob_Niland
Community Expert
Community Expert
February 3, 2020

Where does the banner reside? (e.g. Body page or Master Page(s))

I can probably suggest one or more approaches, but the implementation would be highly dependent on the answer.

robertf65853221
Known Participant
February 3, 2020

Hi Bob,

The banner is in the master page as not "live". 

Bob_Niland
Community Expert
Bob_NilandCommunity Expert解決!
Community Expert
February 5, 2020

You're idea got my creative juices flowing...

 

First, I followed your instructions on creating the "Invisible" paragraph tag and the variable that uses it. Then I placed text boxes with another text flow [B] in the lower right corner of each page. I then connected the boxes in the order the pages go. Then I put the invisible paragraphs in the text flow and hit return until each had the appropriate page number.

 

Success!

 

Now we have to figure out the y in x of y pages without using the $lastpagenum variable

 

 


I've been using small Anchored Frames (Outside Column) , containing Text Frames, with ¶formats later set invisible, for other purposes.

re: …y in x of y pages…

If the final instance of your object can be cross-referenced, just create an Xref format of <$pagenum>, perhaps named PageNumOnly, and add " of  " and an Xref to that final instance.