View Single Post
Old 07-02-2018, 10:32 AM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by vinix View Post
Why syncing toc.ncx and nav.xhtml must be run manually? Does it mean toc.ncx is not needed for epub3
Yes. That's exactly what it means.

Quote:
Originally Posted by vinix View Post
and I can delete it without any compatibility problem?
Technically you could, but the existence of a toc.ncx is still tightly entwined with Sigil's internals, so Sigil includes one (though it's empty unless you generate/edit the contents). And any epub2 rendering system that attempts to open your epub3 will use the ncx if present.

You can leave it: and Epub3 readers will ignore it. Or if you want to remove it, I've written an output plugin that will save the epub3 without the toc.ncx.

The best practice in my opinion is to wait until editing is complete, and then run "Generate NCX from Nav" if you're making an epub3 that will be readable in epub2 reading systems. Otherwise, ignore the ncx completely.

Last edited by DiapDealer; 07-02-2018 at 10:36 AM.
DiapDealer is online now   Reply With Quote