Skip to main content
Participating Frequently
March 18, 2012
Question

Converting a PDF to an EPUB using InDesign

  • March 18, 2012
  • 3 replies
  • 60661 views

I have four finished books in PDF files, totaling 1857 pages including over 600 photographs, which I need to convert to EPUB files in InDesign.  I used a script to import all of the pages of one book into InDesign into a document reflecting the page and margin parameters of the original Microsoft Word document file.  The imported PDF looked perfect in InDesign once I switched to a high-quality display performance in the View menu.  However, when I exported the document into an EPUB file, I ran into two problems that I cannot fix. 

Problem #1:  Both the Digital Editions EPUB reader and the Nook recognize the EPUB document as having only two pages (displaying 1 / 2 on the screen, even though I can scroll to or page to all 430 pages in both Digital Editions and the Nook.  This happens despite the fact that the correct number of pages correctly displays in the InDesign document settings.

Problem #2:  The document text in the EPUB file is so poorly rendered it is almost illegible.  Each letter is chunky and fragmented and partially pixelated.  However, the same text in InDesign perfectly reflects the high quality fonts used in the original PDF and Microsoft Word Documents.

I can find no documentation in the InDesign help system to explain why I am getting these results.  When I cut and paste a few pages of text from the PDF into an InDesign layout, it looks fantastic when I export it to an EPUB. But the text in the script loaded PDF pages look horrible.  And for what it is worth, Problems #1 and #2 persisted, even when bypassed the script and I hand placed a half dozen pages from the PDF into an InDesign document and exported them to an EPUB file. 

Also, if I export back to a PDF from InDesign, the text looks perfect and the page numbering is correct in Digital Editions.  The only reference I found related to InDesign text quality on export  is in Object Export Options, but they remain disabled to me.

And as a final test, I script loaded all 710 pages of the indesign_cs5_help.pdf to see if it would display the same problems. Not surprisingly, the text was just as poorly rendered in Digital Editions, which then displayed the first page of the document as 1 / 3 instead of 1 / 710.

Is there some method I can use to fix these problems?  Or am I going to have to recreate the layout for all 1857 pages painstakingly object by object in InDesign?

Thanks for all assistance.

This topic has been closed for replies.

3 replies

September 17, 2014

Hi,

Reading PDF file is always been a troublesome situation. I suffered a lot because my office document are in PDF format and my device doesn’t support it. But thanks to my friend see told me to convert them into any other file format like ePub and thanks god I did that and now I can open it any device. PDF to ePub converter helped me to convert my PDF file to ePub file in just few simple steps.

BobLevine
Community Expert
Community Expert
March 18, 2012

As always, Steve is dead on.

Here’s a link that will get you a free one week trial on Lynda. http://bit.ly/fcGpiI

That said, if the document is simple enough and all you have is a PDF you can try converting it using Calibre. I warn you however, that if you have no knowledge of HTML and CSS you are going to be in for a world of pain and should probably hire someone for a job this size unless you have an unlimited amount of time to do this.

Bob

Participating Frequently
March 18, 2012

Thanks for the link; I will check it out.

I tried Calibri several months ago, and I was unimpressed by the way it ignored common word processor attributes like paragraph indents, italics, footnoting, etc.  Having worked for ten years as a senior architect designing database driven dynamic  browser-based software applications similar to those later produced successfully by Siebel Systems (now defunct), I an not interested in buggy software.  This is why I chose the Adobe solution.

Steve Werner
Community Expert
Community Expert
March 18, 2012

If you go to the Elizabeth Castro website I referenced earlier, you'll also see listed an eBook about Fixed Layout EPUB. This would work better for what you're trying to do. Check it out.

Fixed Layout EPUB is very early in development and hasn't yet become a standard. It currently only works in Apple iBooks (I believe, could be wrong). If you go to the Lynda.com website, Anne-Marie Concepcion has done a title on creating Fixed Layout EPUB from InDesign.

Steve Werner
Community Expert
Community Expert
March 18, 2012

First, It's always helpful if you tell us what version of InDesign, and what platform you're running. With new technologies like EPUB export, there has  been much progress from version to version.

The InDesign Help system covers only the basics of the export dialog. It doesn't tell you the details of this very different workflow which requires quite an education.

Apparently, you imported PDFs of each Microsoft Word page into InDesign. InDesign will accurately preview each page, and will pass on the text accurately when you make a new PDF file. However, EPUB export is a much different animal. A placed PDF file is considered a graphic, and it will be rasterized upon export (you'd have the same thing happen if you placed an Illustrator file). The image resolution is set either in Images section of the Export EPUB dialog box or alternatively  (if you have InDesign CS5.5) it can be customized in Object > Object Export Options. If you are using InDesign CS5 or earlier the image resolution default is 72 ppi. If you are using InDesign CS5.5 or higher, you can set it as high as 300 ppi.

The result is that your text is probably displayed as 72 ppi, explaining your results.

You're taking a totally different approach than 99.9% of EPUB creators. There the expectation is that the text will reflow from page to page, and will be able to be resized  in the EPUB reader. Your pages would be fixed size which will look lousy on most EPUB readers.

For you to understand more about EPUB, I highly recommend a couple of sources. The eBooks of Elizabeth Castro are highly recommend. In particular, "EPUB Straight to the Point" would be good, because it describes both a Microsoft Word to EPUB and an InDesign to EPUB workflow. Here is here website link: Formatting ebooks - EPUB Straight to the Point

I don't usually recommend this but it might actually be better to export directly from Word.

If you choose an InDesign route, I also recommend Anne-Marie Concepcion's videos on Lynda.com.

Participating Frequently
March 18, 2012

I am using InDesign CS5.5 version 7.5.2.


Your answer is what I feared since I could not get at the objects within the PDF frame individually.


Following the conventions used for published books for the past 200 years, a PDF perfectly displays a book with fixed pages and page numbers with footnotes where they belong at the bottom of each page on a Nook, Kindle Fire or IPad.  This allows other authors to cite quoted passages appropriately, as they would in any paper book, by including the referenced page number within the constrictions of copyright law.  When the page number of a passage changes based on the height and width of the electronic device, there is no way to cite reproduced passages in the manner proscribed by convention and law.  Now if this is the way our culture chooses, then so be it.  But I fear software architects are making such decisions without considering the larger cultural issues they are affecting. 


I hoped that exporting the PDF to the EPUB, as fixed non-flow-able pages would reproduce the standard paper book conventions familiar to book readers.  In truth, the digital publishing community seems split between Amazon doing it their way and everyone else standardizing on the EPUB format.  Since paper books will never be able to duplicate the dynamic flowing formats of digital book solutions, it should be in the interest of the industry to conform to conventional paper publishing standards instead of warring over which new ideas provide a better way.  Having worked for thirty years on a half dozen different computer/digital systems, I know how quickly all the work created on an obsolete computer system can be lost forever.  But books printed hundreds of years ago can still be read today.  The "new" digital book formats of today will be replaced by "better' formats every four or five years ad infinitum into the future, if only because change equates to new sales.  But considering how we are probably only a decade away from the day when paper books become an anachronism, it should be in all our interest to try not to be hasty when it comes to changing conventions.

I apologize for getting into an epistemological discussion; but if we who create the technology of the future do not think about such things when we choose our methodologies, then no one else will either. In Design is an impressive software package.  So even if it will take a long time to use it to lay out so many pages, it will still produce the results I am after.

Jongware
Community Expert
Community Expert
March 18, 2012

Two-sided printing was once an innovation too :-)

I agree that the *current* state of e-pub publishing is not up to printing specs by far. My eyes hurt when I see the latest version of iBook STILL cannot keep a heading with its next paragraph, let alone control widows and orphans, ligatures, forced-justified text inside tables, and hyphenation errors -- who would have thought a 21st century hyphenation algorithm would produce "ye-ars"!?

On the other hand, that is what it is now and these are the cards you are given. If your client still asks for an e-pub, they'll have to put up with what can be done now or wait another couple of years for the standards to stabilize, and hopefully improve.