babluboy / bookworm

A simple ebook reader for Elementary OS
GNU General Public License v3.0
1.32k stars 100 forks source link

Feature request: Support EPUB3 navigation document #256

Open cges30901 opened 5 years ago

cges30901 commented 5 years ago

Hello, because Sigil does not automatically update toc.ncx when editing a EPUB3 file, many files I download online does not contain an up-to-date toc.ncx. It will be convenient if bookworm can read TOC from navigation document.

Here is a sample file: nav.zip

TOC on bookworm: 螢幕快照_2019-04-15_21-39-32

TOC on calibre: 螢幕快照_2019-04-15_21-39-59

babluboy commented 5 years ago

@cges30901 Many thanks for raising this. I wanted to do this and Bookwork should definitely support EPUB3 navigation and use the navigation doc when it is present and only fall back to the toc.ncx in case the navigation document cannot be read