View Single Post
Old 08-16-2019, 08:10 PM   #4
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 451
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
Quote:
Originally Posted by Keybounce View Post
Dang. I was expecting that it would insert anchors as needed for the ToC to reference.
It sounds like you did it right, and here is what I got when I just tried it:

Before inserting an entry: <p class="p_text_body">A bunch of stuff

After Inserting an entry: <p class="p_text_body" id="toc_3">A bunch of stuff

Did you give each entry a name before you hit OK?

EDIT: So I tried a few on your book and got this in the .ncx file:

Code:
<navLabel>
        <text>[BREATH] 001 - Enter, Part 1</text>
      </navLabel>
      <content src="chapter-1.html"/>
      <navPoint id="num_5" playOrder="5">
        <navLabel>
          <text>~1</text>
        </navLabel>
        <content src="chapter-1.html#toc_1"/>
      </navPoint>
      <navPoint id="num_6" playOrder="6">
        <navLabel>
          <text>~2</text>
        </navLabel>
        <content src="chapter-1.html#toc_2"/>
      </navPoint>
      <navPoint id="num_7" playOrder="7">
        <navLabel>
          <text>~3</text>
        </navLabel>
        <content src="chapter-1.html#toc_3"/>
      </navPoint>
    </navPoint>
The #toc_1, etc., were added automatically. I named the entries ~1, ~2, ~3. Here's how it looks in the Calibre viewer ToC panel:
Attached Thumbnails
Click image for larger version

Name:	tocexample.jpg
Views:	137
Size:	10.3 KB
ID:	172973  

Last edited by retiredbiker; 08-16-2019 at 09:58 PM.
retiredbiker is offline   Reply With Quote