MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   2 Table of contents in one EPub? (https://www.mobileread.com/forums/showthread.php?t=232092)

holdit 01-24-2014 10:08 PM

2 Table of contents in one EPub?
 
I have a word doc that had two table of contents:

Summarised Contents

then a regular TOC

is it possible to have two TOC's in one Sigil generated epub?

thx
H I

bfollowell 01-24-2014 11:09 PM

Well, technically, a toc is just a page with a bunch of links to other pages, that is defined as a toc. I think, officially, you can only have one actual defined toc in an epub. That being said, you can have as many pages of links as you want.

So, in your example, I think you could have one sort of general toc page and a really detailed toc page. Only one of them will be able to be a real toc though. You'll need to decide which one to make your official toc for the epub though; the one that you want to go to when you press the toc button or icon or whatever from your reader.

- Byron

faltradl 01-28-2014 05:30 AM

I think an ebook can contain only one TOC. But you can insert as many HTML-TOC as you whant. Sigil offers you both versions of TOC.

A TOC in a word-doc is like a HTML-TOC. It's a printable page, like the TOC of Books. But what's called TOC in ebooks you can't see while reading. You must call the show-TOC function.

DaleDe 01-28-2014 02:33 PM

Quote:

Originally Posted by faltradl (Post 2749757)
I think an ebook can contain only one TOC. But you can insert as many HTML-TOC as you whant. Sigil offers you both versions of TOC.

A TOC in a word-doc is like a HTML-TOC. It's a printable page, like the TOC of Books. But what's called TOC in ebooks you can't see while reading. You must call the show-TOC function.

Exactly. The external TOC is an NCX file (check our wiki). There can only be one but it can contain several levels. Thus you can put many entries inside so that two TOCs can be accommodated by making these one level down from a top level that lists the two TOC's. Most eBook readers (but not all) will display only the top level and you can then click to expose the TOC you are interested in. In addition you can have inline (HTML) based TOC's, as many as you wish and reference the actual pages from the external TOC.

Dale


All times are GMT -4. The time now is 07:31 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.