View Single Post
Old 02-10-2011, 09:51 AM   #3
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,103
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 kainu7 View Post
I have a few books that do not have a table of contents to quickly get to each chapter and I would like to create one. I havent been able to figure out how to do this yet. I know its possible because some of my books already have them. Can anyone help?

I guess I should add ive downloaded Sigil as well before and when I add a book to it in Epud the book is automatically put in there with each chapter spilt saying index_split_000.xhtml
index_split_001.xhtml and so forth but when i save and add back into calibre i dont know how to get the table of contents still.
In addition to Iolse's good advice

Sigil and Calibre have different ways of building up the TOC. Neither are wrong In the end, you get a EPUB TOC (not the same as a inline: just another page TOC)

AFAIK, Sigil will start from scratch (Rebuilds) EVERY TIME it opens an EPUB. Sigil only uses Hn tags to build from (there is a special code class "SigilNotInTOC") to cause Sigil to exclude it from the list. The TOC editor (F7) has a tick box to CLEAR if you don't want it to show in the TOC (the Class get auto-magically added)

Calibre conversion can use REGEX Patterns to detect TOC items
theducks is offline   Reply With Quote