Figure counter restarts for each component file

Community Beginner ,
Nov 21, 2018

Copy link to clipboard

Copied

Hello,

I have a cover page that uses figures, then a generated LOF, then a body page that uses more figures.

The figure numbers restart in the body page (and therefore in the LOF).

I have researched this issue and followed all suggestions to no avail.

  1. There are no other counters using F: in the paragraph designer numbering.
  2. I've searched for paragraph format overrides and nothing.
  3. I've ensured that book and component files are set to "continue from previous file in book".
  4. I have updated the book numerous times.

WHAT is going on here that I am missing?

This is the LOF:

All use the following paragraph numbering (for all book components) in the BODY pages:

Here is the code in the reference page:

Does anyone have any clues what is going on?  Any help is much appreciated.

Thanks.

Views

631

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Adobe Community Professional , Nov 26, 2018
Barb Binder Adobe Community Professional , Nov 26, 2018
Hi Alexia:I have some answers for you.Discrepancy between LOF numbers and source file numbersThe first one is addressing the mystery of why the figure numbers increment correctly in the LOF but not on the page. The reason is because you are not pulling in the para numbers from the source files—instead you are adding para numbers to the LOF para tags on the reference pages. This is ok to do, but it was causing confusion in the thread.To pull in the auto-numbers from the source files, remove the a...

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Nov 21, 2018

Copy link to clipboard

Copied

Wait, I thought you said the LOF was working correctly?

I'd still check the generated files and make sure that nothing is getting reset there, and I'd also check each file individually with Format > Document > Numbering > Paragraph.

You might also want to save as MIF and do a scan through for <PgfNumbering Restart>. If you find it, that's your culprit.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Nov 21, 2018

Copy link to clipboard

Copied

Somehow now (after playing around with all sorts of different settings/paragraph tags/etc) the figure numbers in the LOF are correct, but the numbering still resets.  I am going to try the .mif scan now and keep you posted.  Thank you for your help! This is so frustrating!

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Nov 21, 2018

Copy link to clipboard

Copied

Honestly, I have no idea what to do after I've converted the files to .mif...could you walk me through it?  How do I search for the <pgfnumberingrestart>?

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 21, 2018

Copy link to clipboard

Copied

Open it up to look at it in a text editor like Notepad.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 21, 2018

Copy link to clipboard

Copied

It sounds like Lin is on the right track with the document numbering, but I'd suggest doing the changes from the book file.

Right-click on the file in the book window, choose Numbering, and set  Paragraph to Continue from Previous File in Book.

-Matt

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 21, 2018

Copy link to clipboard

Copied

Over in the other thread, I think I told her to make these same changes in each document and then do it again in the book file at the book level. I know the book numbering takes precedence, but it never hurts to make the changes in both places, just in case.

What I do not understand is how the generated file has the figures numbered correctly, but the figure numbers restart in each chapter. That is just so weird.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Nov 22, 2018

Copy link to clipboard

Copied

I tried doing this at both the book and file level and it still does not work...Figures are still re-starting for each different book file.  linsims This is also the case if I change the order of the book files and make them consecutive (I move the cover after the TOC, LOF, and LOT)....

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Nov 22, 2018

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 26, 2018

Copy link to clipboard

Copied

My apologies for not responding sooner. I was taking advantage of the long holiday weekend here.

I don't really know what to suggest at this point. From your screenshots and descriptions, it sounds like you're doing everything right. I see that BarbBinder​ has volunteered to look over your source files, so I hope that the two of you have managed to work this out. If you find the solution, do please share it because I'm really curious now how it's possible for the LOF to show the figure numbers correctly when the chapters don't!

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Nov 22, 2018

Copy link to clipboard

Copied

<pgfnumberingrestart> did not appear in any of the .mif files...

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 24, 2018

Copy link to clipboard

Copied

Hi Alexia:

I'm happy to take a look at your files. Please zip the project folder with the book and linked files and put it on dropbox. You can post the link here (public) or hover over my name above and message me the link (private).

~Barb

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 26, 2018

Copy link to clipboard

Copied

Hi Alexia:

I have some answers for you.

Discrepancy between LOF numbers and source file numbers

The first one is addressing the mystery of why the figure numbers increment correctly in the LOF but not on the page. The reason is because you are not pulling in the para numbers from the source files—instead you are adding para numbers to the LOF para tags on the reference pages. This is ok to do, but it was causing confusion in the thread.

Screen Shot 2018-11-26 at 8.46.36 AM.png

To pull in the auto-numbers from the source files, remove the auto-numbering on the LOF tags and add <$paranum> in front of <$paratext>:

Screen Shot 2018-11-26 at 8.49.55 AM.png

Update your book. Now the source file issue is represented in the LOF:
Screen Shot 2018-11-26 at 8.50.16 AM.png

Incrementing the numbers in the source file

The problem isn't in the Body.fm file, or with your Continue Numbering choices—you did all of that correctly. The issue is actually in the Cover file and you can see it in the screen shots below. The reset is happening on page iii, before we ever get to Body.fm.

Screen Shot 2018-11-26 at 9.13.44 AM.png

There isn't another paragraph tag forcing the reset, instead it is because the frames are disconnected, and in FrameMaker, the counter starts with zero for each new flow. The fix is to navigate to page iii, select the text frame and choose Format > Customize Layout > Connect Text Frames to connect it with the frames on the previous page.

Screen Shot 2018-11-26 at 9.26.18 AM.png

Update your book and take a look at the LOF. Everything is now incrementing correctly in both the LOF and in the source files.

Screen Shot 2018-11-26 at 9.29.47 AM.png

NOTE: Once you have this working and have some free time, I would suggest creating a new custom master for page iii, based on page I (auto-connect will be on as a default) and then apply it to page iii. Page iii is using a sidehead column, which I don't see the need for, so you can clean that up at the same time. Back up the original cover file before you start so that you can restore it if you run into trouble.

As a general rule, we don't want use disconnected pages unless there is a specific need to use them.

~Barb

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 26, 2018

Copy link to clipboard

Copied

Nice detective work, Barb!

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Nov 29, 2018

Copy link to clipboard

Copied

Barb!  You are my hero!!  I am building a statue in your honor.  Thank you endlessly for your thorough research on this matter, I would have never figured this out on my own.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 29, 2018

Copy link to clipboard

Copied

LOL. Let me know when the unveiling is!

Seriously, this was a tricky one to figure out. I could see from your documents that you have a solid understanding of FrameMaker, and the answer was definitely not immediately obvious. Anyway, I love puzzles and it was great to find the culprit. I was probably almost as happy as you were.

Enjoy your FrameMaker adventure, Alexia.

~Barb

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more