mkepub icon indicating copy to clipboard operation
mkepub copied to clipboard

Why is the menu at the end of the book?

Open advancejar opened this issue 3 years ago • 3 comments

First of all, thank you for the code. I generated an .epub file and converted it to .mobi file with calibre and put it into kindle, I found that the directory is at the end of the document, how do I need to set it?

advancejar avatar Nov 23 '21 12:11 advancejar

I would crack the EPUB open first with 7zip (or an alternative, its just a zip with a different file extension) then check the content.opf and see if the TOC somehow got put last in the Manifest and Guide section. If not and its up top I would look closer at your MOBI conversion step.

Quick solution if it is out of place is to simply move the lines pointing to the TOC to the top of each of those sections, recompress it as a zip (or edit in-place if your archive program allows) and rename it to an EPUB.

Evolution0 avatar Dec 01 '21 19:12 Evolution0

Seconding Evolution0's advice. Sadly I'm currently busy with life stuff and haven't had time for open source projects in the past few years.

anqxyr avatar Dec 01 '21 22:12 anqxyr

thanks for your reply. I will handle it myself.

advancejar avatar Dec 02 '21 03:12 advancejar