Copy link to clipboard
Copied
Hi everybody,
When I created the table of contents for my book, a problem occurred: I had to manually correct the errors to get the table of contents correct.
Is there any solution to optimize the table of contents?
Looking forward to receiving your response!
Best regards,
Quan
Hi, @Quân2929 ,
put a second tab right before the pagenumbering variable.
As your text is breaking to the next line your pagenumbering tab is "jumping" to the first defined position (the indent position) and so in this case you need to define 2 tabs right before the pagenumbering variable.
But maybe @Barb Binder has another/better solution regarding the FM version.
Regards
Stephan
Hi @mk-will. I agree with you‚ that is the answer. @Quân2929 just add a second tab character in front of <$pagenum> building block on the reference page for those third level headings and update your book. The second tab won't hurt the short heads, but fixes this issue on the ones that wrap to a second or subsequent line.
I was asking about the version because when you have long heads like that in a TOC, it is helpful to allow the page numbers stand out, and the fix is version-specific. It loo
...Hi Quan, you have to enter the second tab on the reference page and then go back to the body page and update your book. Did you do this?
If you cannot enter a tab, the insertion mark is possibly not before the <$pagenum> building block. Use the arrow keys to go to the correct position.
Copy link to clipboard
Copied
IMHO there seem to be TAB craracters in the faulting headings.
Copy link to clipboard
Copied
I agree with Rick and Klaus...if you turn on the view of your text symbols, you'll likely find tabs at the beginning of the offending headings. In the case of section 3.3, you'll likely find at least 2 tabs preceding the text.
Copy link to clipboard
Copied
I think Klaus is correct; some of your headings have leading tabs in them. If you generated Hypertext links when you created the Table of Contents, you can Control+Alt+Click on the faulty entries in the TOC and it will take you to the source headings. Then you can delete the leading tabs and then update the TOC.
Copy link to clipboard
Copied
Here is a short video illustrating the problem and solution:
Copy link to clipboard
Copied
hi @frameexpert ,
Sorry for not having time,
I am very happy to receive the answer and I think it is very useful, I will take the time to check my data again.
Thank you very much!
Copy link to clipboard
Copied
hi @frameexpert ,
I have solved the dot in front of the heading, but there is one problem: there is no automatic dot between the content and the pages number.
How to solve it?
please help me.
Thank you very much!
Copy link to clipboard
Copied
What version of FrameMaker are you using, @Quân2929?
And can you please provide a screen shot with your cursor in TOC entry 2.8.3 with the rulers visible?
~Barb
Copy link to clipboard
Copied
Hi, @Quân2929 ,
put a second tab right before the pagenumbering variable.
As your text is breaking to the next line your pagenumbering tab is "jumping" to the first defined position (the indent position) and so in this case you need to define 2 tabs right before the pagenumbering variable.
But maybe @Barb Binder has another/better solution regarding the FM version.
Regards
Stephan
Copy link to clipboard
Copied
Hi @mk-will. I agree with you‚ that is the answer. @Quân2929 just add a second tab character in front of <$pagenum> building block on the reference page for those third level headings and update your book. The second tab won't hurt the short heads, but fixes this issue on the ones that wrap to a second or subsequent line.
I was asking about the version because when you have long heads like that in a TOC, it is helpful to allow the page numbers stand out, and the fix is version-specific. It looks like—based on an earlier post—that you were on 2019 and possibly updated to 2022 this fall. In either case, after you fix the tab situation, you might want take a look at this post. https://www.rockymountaintraining.com/adobe-framemaker-last-line-right-indent/
~Barb
Copy link to clipboard
Copied
Dear @mk-will , @Barb Binder ,
Nice to receive comments from experts,
I'm using version 2019 and am planning to upgrade to version 2022 but in the current version I can only add a second tab character before the <$pagenum> building block on the reference page for criteria That high school topic manually.
Best regards,
Quan
Copy link to clipboard
Copied
Hi Quan, you have to enter the second tab on the reference page and then go back to the body page and update your book. Did you do this?
If you cannot enter a tab, the insertion mark is possibly not before the <$pagenum> building block. Use the arrow keys to go to the correct position.
Copy link to clipboard
Copied
dear @Winfried Reng , @mk-will , @Barb Binder ,
After I added the tab before <$pagenum>, the table of contents was updated correctly,
I sincerely thank you for your support!
Best regards,
Quan
Copy link to clipboard
Copied