I have tried a dozen of methods to convert my PDF books to EPub format; Most of the time, the result is frustrating. Numbering, page setup, footnotes, headers, pictures all get messy in the result.
But, now, for the first time, after a desperate digging, I am getting satisfactory results. That is the good new. I am going to tell you how to do it.
First, the necessary tools (The first three are the most popular ones in the ebook world.) with their strengths and weakness in short.
1. Calibere is the best tool to manage books. But, the conversion is so bad. So, use it to manage and view your ebooks. But, avoid converting pdf in it.
2. Mobipocket Creater. This is good for converting html to prc. PRC format can be opened in Kindle (app). But, it can not convert to epub format.
3. Sigil: this is wonderful tool to edit and convert texts (including html) to epub. it can not import PDF.
Finally, the most powerful software to convert PDFs into Epub, though few people ever know its function for ebook conversion;
4. ABBYY Finereader 11. This is the most effective tool I have ever tried to convert PDF (picture) files to other formats (texts such as html, word etc). The result is so shinning. The new version (v. 11) also natively supports conversion to Epub.
So, the first thing to do is to import your PDF file to ABBYY Finereader11. You will get every kind of text format out of it including html and epub. You can spell-check it, edit the font, page setup. Almost everything that Sigil can do. The best of all, ABBYY can remove headers and footnotes (this had been a pain in my ass when I was using Adobe pro to convert PDF to html). The only weakness of the ABBYY Finereader is on the Table of Contents. It can not generate Toc in the epub format. So, to solve this problem (to get Toc in my epub), I use the following two methods.
Two best ways to generate the Table of Contents
A. (recommended) Convert the Pdf to html in Abby FineReader and then edit the html in Sigil by marking Headings; generate the TOc from the heads, and finally to Epub. Since this method gives the most accurate result for the Toc, one can implement it in when one needs a detailed/best Toc; when when when the pdf doesn’t contain bookmarks. But this method could be time consuming to mark every section and subsection as a Heading in Sigil.
B. Bookmark the Chapters (sections) of the PDF before importing it to ABBYY in any pdf reader (foxit/adobe). The booksmarks then can serve as Toc after cenversion in ABBYY. If you want to use the bookmakrs of the file as Toc, direct converstion to epub in ABBYY cuts away sub-sections (only the main chapters, beginning from 2nd chapter appear in the epub). May be because of a little bug, only the main chapters/sections of the PDF beggining from Chapter/section 2 appear in the epub result. Therefore, if you want to get all the detailed bookmarks of the PDF as contents in the epub, it is necessary to avoid direct converstion to Epub in ABBYY. Rather, convert the PDF to html (the bookmarks of the PDF come out as hyperlinks in the html) and then import the html either into Sigil or Mobipocket Creater. In Sigil, directly converting the html to Epub gives the bookmarks keeps the hiperlinks of in the epub (The hyperlink can serve as Toc by choosing “go to start” in the Epub readers such as Nook and Kindle). To use the hyperliks of the html as Toc in Mobipocket Creater, you need to edit the html file in a text editor following this guide. Note that the result is of the Mobipocket Creater is prc. You can read the prc in Kindle, or futher convert it to epub.
->Mobi format can easily be generated from the epub, using Calibere.