View Single Post
Old 10-16-2020, 08:09 PM   #8
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by JJ Johnson View Post
Is the 'table of contents' that you speak of Sigil generating the navigation document required of epub 3s, or is it a table of contents (x)html file? Or does it generate both?
As per the epub3 specs the nav.xhtml file can be (and should be if I remember correctly) used for the navigation document as well as the displayed html table of contents. But sigil puts the nav.xhtml at the end of the epub. If you drag the nav.xhtml to just after the title page or wherever in Sigil's Book Browser it still shows up at the end on my Kobo Forma (I also make epub3s). If you drag in Calibre's equivalent then the displayed table of contents shows up where you dragged it to. Eyeballing the content.opf I saw that calibre deleted the linear="no" from the following line as soon as you drag the nav.xhtml anywhere:


<itemref idref="nav.xhtml" linear="no"/>

Last edited by hobnail; 10-16-2020 at 08:18 PM.
hobnail is offline   Reply With Quote