View Single Post
Old Today, 06:15 AM   #7
jd1004
Member
jd1004 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Nov 2025
Device: none
Thanks guys!

I created a copy of the NAV file, renamed that to contents.xhtml, edited "contents" and changed all the links in the epub from "nav" to "contents". That did the trick.

For the extraneous toc.ncx I also kept, EpubCheck gives me the message

OEBPS/toc.ncx,140,4833,Col: 48: ERROR(RSC-007): Referenced resource "OEBPS/Text/discover-page.xhtml" could not be found in the EPUB.

Of course, since this is an Epub3 file, deleting the file "discover-page.xhtml" will only edit the NAV file, not the NCX file, but I think I can live with that error check message. Manually deleting the file entry from toc.ncx unfortunately only channges the error message, because then there is a gap in the internal numbering:

OEBPS/toc.ncx,136,4710,Col: 48: ERROR(RSC-005): Error while parsing file: playOrder sequence has gaps

Would it be possible to update both the NAV and the NCX file in an Epub3 if both files are present?

Cheers and keep up the good work!
jd1004 is offline   Reply With Quote