View Single Post
Old 01-22-2016, 03:04 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,735
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by tinmug View Post
Thanks.
I've been using ePub 3.
In that case, you'll need to add a toc landmarks item. If a book contains both an .opf file with a guide section and nav xhtml file with a landmarks section the nav xhtml file takes precedence over the .opf file. (The nav xhtml file has a properties="nav" attribute in the .opf file.)

Quote:
Originally Posted by tinmug View Post
Whereas the standards document refers to (an example of):
<item id="toc" properties="nav" href="xhtml/toc.xhtml" media-type="application/xhtml+xml"/>
That's the required nav landmarks item for ePub3 books.
That's the required nav file manifest entry in the .opf file.

BTW, if you've opened an ePub3 book generated by InDesign with an older Sigil version, it might have saved it as an ePub2 file.

Check your ePub with the IDPF Online Validator.
If it says Detected version: EPUB 2.0.1 , Sigil has saved your epub3 book as an epub2 book and the .opf guide item should work otherwise check the landmarks section of the nav xhtml file.

Last edited by Doitsu; 01-22-2016 at 10:18 AM.
Doitsu is offline   Reply With Quote