• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Figure counter restarts for each component file

Community Beginner ,
Nov 21, 2018 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

945

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Nov 26, 2018 Nov 26, 2018

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 a

...

Votes

Translate

Translate
Community Expert ,
Nov 21, 2018 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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 21, 2018 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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 21, 2018 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>?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 21, 2018 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 21, 2018 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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 22, 2018 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)....

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 26, 2018 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!

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2018 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 26, 2018 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 26, 2018 Nov 26, 2018

Copy link to clipboard

Copied

Nice detective work, Barb!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 29, 2018 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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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