mkepub
mkepub copied to clipboard
Why is the menu at the end of the book?
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?
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.
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.
thanks for your reply. I will handle it myself.