ORIGINAL INFO:
I have some PDFs that I am reading & highlighting in Good Reader I'd like to push to ePub so that I could do so in Marvin instead.

PS: I am posting additional details, thoughts, questions relating to my post and now the knowledge from your replies. Please do check it out and share thoughts.

UPDATED INFO:
- I understand the variation and variety of PDFs and the structural and placement related markers that they may have within make this complex - sometimes next to impossible
- If these are scanned books/ pages then the OCR conversion is another major step
- If the text and graphics are placed in various boxes in weird ways, god help us

BUT:
IF.. If the PDF is fairly simple structured and has a single column flow of text (with selectable Text - No OCR aspect here) - where structure and markers are relatively simpler..
...
WHICH TOOLS and STEPS would you suggest?

I have one such PDF - Looks almost like a Word Document saved as a PDF.

Quote:

Originally Posted by crashnburn

Is there a thread/ location/ tutorial that outlines steps/ best practices for converting PDFs to ePUBs?

I have some PDFs that I am reading & highlighting in Good Reader I'd like to push to ePub so that I could do so in Marvin instead.

I am sure faterson has expertise on this. Wondering if there is a thread/ tutorial / steps that are a recommended read.

Quote:

Originally Posted by Faterson

PS: If, despite the above warning, you decide to go ahead, I recommend not to use Calibre for PDF conversion. I've had better results using the old Mobipocket Reader (killed by Amazon similarly to Stanza). Here is the install file for Windows. The result of the automatic, one-click conversion will still be very poor, but that's just the way it is.

For optimal quality of conversion from PDF to EPUB, you need to sacrifice all those extra hours of manual work, and use top-quality OCR software such as FineReader. I create a HTML file in FineReader, then fine-tune that HTML file by manual coding (using the EditPlus plain-text editor for Windows) until its code is approved by W3C's validator. No fluff must be left inside the file -- the CSS must be minimalistic. Finally, I convert the HTML file to EPUB in Calibre, and that's it.

Quote:

Originally Posted by Faterson

I indeed have expertise on that, and that expertise says: don't bother!

It's sad but true. My daily reading is split roughly evenly between Marvin and GoodReader, precisely because converting PDFs to EPUBs is often a hopeless undertaking. And, many books (especially old, scanned editions) are only available as PDF files -- or the EPUB versions of the same texts are of such ridiculously bad quality, they are unreadable. (Yes, I'm talking about you, archive.org.)

Only this weekend, I was converting a short novel (novelette), 25 thousand words, 45 pages of PDF source file, from PDF to EPUB, precisely so that I could enjoy reading it in Marvin, rather than GoodReader.

I used the best available OCR software for the conversion, which is FineReader.

Even so, it took me nearly 5 hours (!) to convert the PDF file so that I was satisfied with the EPUB result. It's just impractical. However, this was a novelette I deeply cared about, so I was willing to sacrifice the 5 hours of my time for the conversion. I would, of course, not be ready to do that on a regular basis, because my remuneration for the work was exactly 0 cents. The only reward I'll get will be the pleasure of reading that file in Marvin. Hell, that's enough for me (in this special case).

Quote:

Originally Posted by Jessica Lares

I will add to that too and also give the same opinion. PDFs are usually designed to be printed and are made in programs like InDesign, Quark, and Acrobat which pretty much work as WYSIWYG (what you see is what you get) editors.

Most of the text is done in individual boxes, one for the heading, one for each paragraph, column, etc. And they're layered, so you're just hoping that the writer did add them one after another, which is never the case. This becomes apparent when you're making selections and something else is being highlighted.

Stick any PDF document into Adobe's Acrobat editor, and you literally see how awful the setup is.

I would think OCR would work better with a flattened image, as long as it was 300dpi or more.

Get the latest version of FineReader, OCR it, proofread it, save it as HTML, import into Sigil. Or, I guess that using the latest version (FineReader 11) you could export it directly as an ePub, but the styles will probably be all over the place.

I would export it as DOC/DOCX, run my custom Word macro to "dumb" the text down to its core components (bolds, italics, etc) and then redo the layout either in InDesign, or apply quick styles in Word and then save as a Filtered HTML and then import into Sigil. Hmmm... There are a few routes and software programs that you can use, but just make sure that you proofread the final product. Proofreading is damn important.

Oh, and one last thing, FineReader will OCR the PDFs as a bunch of images, so the images that it saves as "Pictures" are pretty much screenshots of a screenshot, sort of speaking. You're probably better off exporting the images from Adobe Acrobat or something like that, so that you don't lose quality.

I just got PDFtoEpub for free here: http://www.pdftoepub.com/authorspromotion.asp and so far it has done very well converting some books I had that even Mobipocket Reader/Creator couldn't handle. The resulting epubs may still need a few corrections in Sigil, however, to fix things like spacing or the infamous "missing" apostrophes, and on occasion, the apostrophes that somehow get switched to reversed quotation marks but to be fair, many programs do that when converting .pdf files, not just this one. So far I like it, you may want to give it a try.

The only way to convert PDF > ePub is to A/B compare the ePub to the PDF. That means every character, every space, every punctuation mark, every graphic, every bold, every italic and anything else in the PDF. There is no way to convert a novel length PDF that won't have any error.

Yes, it will take time to properly A/B. But that's the only way to do it.

Any conversion from columns is especially difficult because it can go along being perfect for 10-20 pages and then jumble things up, putting parts of paragraphs above or below invisible to casual scanning. It gets especially bad near any illustration or small blocks of text.

The removal of extra colors and font sizes not in the original text is another playground of the devil in search and replaces that can go wrong too.