View Single Post
Old 01-08-2012, 05:57 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,139
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Phil_C View Post
Here's what the chapter code looks like from Book Designer when opened in Sigil:

Code:
  <p><span id="title"><a id="BdToc_1"></a></span></p>

  <div class="sgc-3">
    <span class="sgc-6" id="title">1 Technician</span>
  </div>
When the same HTM file is dragged into Calibre, some changes seem to get made during the process. This is the same chapter location;

Code:
  <h2 class="title"><a id="BdToc_1"></a></h2>

  <div class="sgc-3">
    <h2 class="title sgc-6">1 Technician</h2>
  </div>
It now contains h2 tags. It looks like something more still has to be done with this before a true TOC can be generated in either Sigil or Calibre. I'll have to fiddle with this to see if I can get it to work.
Did you click the Generate TOC button? Verify what you see is better than what you have, else cancel.

Save your EPUB the new TOC should show in Calibre's book viewer (use TOC button)
theducks is offline   Reply With Quote