Thread: Updating TOC
View Single Post
Old 10-01-2019, 04:22 PM   #10
fliteskates
Junior Member
fliteskates began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2019
Device: none
Quote:
Originally Posted by KevinH View Post
Did you check your content.opf file and verify if the html table of contents has been listed in the guide as a "toc"?

I grabbed an epub2, that has a toc.ncx and an html table of contents that is listed in the opf guide as a toc.

I then deleted a bunch of chapters. And used Generate Table of Contents, and the deleted chapters are no longer in the toc.ncx, looking at it in the Tabbed area showed it was correctly updated, as did the updated Table Of Contents dockable window. See the Views menu item to enable disable it.

My separate html table of contents did not get rebuilt because I did not tell it to yet. Since my contents.xhtml file is listed inthe guide, I simply use the Generate HTML table of Contents and it rebuilt my contents.xhtml file.

I would do a save as before rebuilding the html Table of Contents just to be safe, since hand created html TOC can be quite specialized and ornate.

So it all works for me.
Yep, generating the HTML TOC is what worked for me finally.

Thank you for your help, I appreciate it.
fliteskates is offline   Reply With Quote