Converting a PDF to an EPUB using InDesign

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.

I have managed to work out the entire process over the past three weeks both working with InDesign with EPUB and by helping a friend post a series of books directly from Microsoft Word via MOBI to Amazon.  I will discuss the latter process first to point out the inherent problems with the direct approach, so the reasons for using InDesign become more apparent.
From Microsoft Word
First, I recommend you reformat your Word document into a smaller book size to simulate the maximum text display you will get on a Kindle (3.0 in. x 5.3 in. margins) or Nook (3.3 in. X 5.5 in. margins).  Next, make sure you are using style tags and paragraph and page layout options everywhere (no tabs or spaces in formatting), and a TOC object for the table of contents.  All photos or images must be centered, and if you want them to have horizontal width, then stretch them from side to side.  Leave your cover photo out of the document, and add it via the author panel specifying you want the uploaded cover image to be used inside the book.  This will assure that the cover photo will correctly fill the frame.
Next save your DOCX document as a FILTERED HTML.  Then close Word and load the HTML into the Kindle Previewer to review to verify your images are correctly displayed.  When you do this, it creates a MOBI file that you can upload to a Kindle to view first hand.  Then when you are satisfied with the results, you can upload this MOBI book file to Amazon Authors Direct.  The upload dialog does not say it will accept a MOBI file, but the HTML file it recommends does not contain any image data.  As it accepts an EPUB file, it only made sense it would accept the MOBI file, and it does (even the Amazon technical staff did not know this).
Using InDesign
The results of going from Word direct to MOBI are far from perfect.  But I would judge they are minimally acceptable.  However, if you want complete control of a book’s layout I recommend going the InDesign route.  Without exception, the pages, text and images laid out in InDesign are (or will be soon) perfectly reflected on the Nook and Kindle.  Granted, it takes time to lay out a book page by page, but if you do it right by using the InDesign paragraph and object styles, the process goes quickly. 
Create an InDesign Book with each chapter a separate document in the book to ensure chapters start on a new page.
Make document pages small to maintain the look and feel.  They need not be 3.5 x 5.5.  I used a 5 x 7 inch document page and everything looked fine on the Kindle and Nook.  Get used to the idea that the text will always flow differently based on the text size selected, So only worry about inline image placement, chapter headings and such, and leave the rest to fate.
After you get one chapter finished, use it to create a template document to use for subsequent chapter documents to facilitate laying out your book.  A photo in a graphic frame with an anchored caption text box is easily copied and pasted elsewhere to standardize all image objects.  Be sure to synchronize styles and swatches for each new chapter added.
InDesign footnoting did not work correctly in the EPUB for me, but I found it easy to use the hyperlink system to emulate footnoting functionality.  By placing the footnotes at the back of the book and implementing a hyperlink back to the inclusion point of the footnote in a chapter, the reader can use the footnote pages like a hot index as well as a hot footnote.
When generating an EPUB,
Select No cover image
Select ordering same as Article panel
Set Book margin to 0
Image size relative to page
Contents XHTML
Use InDesign TOC (set style used)
Generate CSS with all boxes checked.
One thing to be aware of is that the digital readers will read the HTML page objects left to right then top to bottom, so I recommend the following:
In InDesign Guides and Pasteboard preferences, set the Snap to Zone to 1 to guarantee all page objects line up on the left margin exactly.  Manually adjust each object box X location as necessary.  Lock object when completed to minimize inadvertent movement
Always guarantee all text box objects stretch from left to right margin.  Use the Indent controls to vary text placement and make this a new paragraph style.
Always anchor a photo (inset in a graphic frame) to a caption text box stretched margin-to-margin to ensure the photos will not sink to the bottom of a page in the EPUB. 
Photos snapped to each margin will display full width and will display larger when the Kindle is rotated 90 degrees.
Add 0.25 in, Space After on the last paragraph before an image and 0.25 in, Space Before on the first paragraph after an image to create a bit of white space around the image and caption.
Always use the Article list to verify the placement of page objects in each chapter document.  I have had a few images sink when the article list is generated despite all the above precautions.  But it is easy to manually make adjustments.
Kindle Tools
Amazon released a series of tools and PDF documents a few weeks ago that greatly simplify the process of posting a book for sale via Direct Publishing.  That said, rabbit holes abound waiting to catch anyone who is not already familiar with HTML and document layout software technologies.  So the non-tech masses should be wary.
The Amazon Tools are at https://kdp.amazon.com/self-publishing/help?topicId=A3IWA2TQYMZ5J6 .
KindleGen v2.4 – a command line tool used to build eBooks that can be sold through Amazon's Kindle platform. This tool is best for publishers and individuals who are familiar with HTML and want to convert their HTML, XHTML, XML (OPF/IDPF format), or ePub source into a Kindle Book.
Kindle Previewer v2.4 -- a tool that emulates how books display on Kindle devices and applications. Kindle Previewer makes it easy to preview the layout of a book and make sure its text displays properly for any orientation or font size. This tool is recommended for publishers, eBook conversion companies, and individual authors in combination with KindleGen to produce the highest quality Kindle books. It is available for both Windows and Mac OS X platforms.
Kindle Plugin for Adobe InDesign® v0.96 (Beta) --  a plug-in which can be used to convert documents or books created in Adobe InDesign® to Kindle format.  For more information on creating books for the Kindle platform from Adobe InDesign®, please see the Publishing Guidelines for Kindle Plugin for Adobe InDesign® available for download in PDF, Kindle and Adobe InDesign® formats.
I found that the Previewer and the DOS KindleGen produce identical MOBI files, so I recommend the previewer for its ease of use.  After extensive testing I have found the Kindle InDesign plugin will perfectly convert the text from InDesign; however, it fails to size, place and display photographs and captions in all cases.  It also does not render the InDesign TOC correctly.  But remember, it is Beta software .  I sent in a bug list to Amazon via the Export Book to Kindle dialog in InDesign and never got a response, but presumably someone is working on the problems and will eventually get them fixed.  On the other hand, currently the Previewer perfectly displays photographs in a MOBI file when the InDesign EPUB file is fed into it; and the only problem with the text is that the line spacing is incorrect so paragraph lines are somewhat scrunched together.  While this is not a problem for developing a book, I would wait until the final release of the Kindle Plugin for InDesign before generating and publishing a MOBI book.
I hope this helps.

Similar Messages

  • Q: How do I convert a pdf file to Word using Adobe Export PDF? - all my attempts are scrambled.

    Q: How do I convert a pdf file to Word using Acrobat Export PDF - all my attempts are scrambled

    Do you subscribe an Adobe Export PDF account? If you do not have an account, please go to https://www.acrobat.com/exportpdf/en/home.html?trackingid=JPZKN to subscribe.
    If you have an account, make sure verify your email address and sign in from https://exportpdf.acrobat.com/SignIn.html
    Jyh-Jiun Liou

  • Going from Pages to EPUB using InDesign?

    Is there a guide for going from a Pages document to EPUB using InDesign? The target is a book that is over 105K words for 425 pages.
    I am an absolute beginner with InDesign and I was hoping to more finely control the outcome of EPUB generation by using InDesign rather than outputting from Pages using Export to EPUB. Unfortunately, ID isn't quite as intuitive as I had hoped it would be and I've run up against the wall.
    Do I load each chapter as a separate document and then collect them as a book file? Or can the book be loaded as one document? I've been trying as one document, but I can't it to appear in the main editing window. (It shows up fine in the story editing, but that gets tedious very quickly.)
    Last, while ID creates EPUB files, can it generate a MOBI or AZW file for the Amazon Kindle? I found no references for in concerning ID in the documentation, but thought I'd ask anyway.

    Thanks, Steve!
    I've already been hand-building the CSS & EPUB files. I was just hoping that InDesign would make it easier. Clearly, that's not the case.
    Apple's Pages does a very good job generating an EPUB which only requires a minimal amount of tweaking to the CSS to give it a final polish and further adjustments for e-readers other than an iOS device. Generating the MOBI/AZW for Kindle requires a bunch of jumping through hoops to prepare, which was what I was hoping to avoid.
    A few days to release, I have plenty of time get get the ebooks ready.
    A good heads up for any competent programmers out there—of which I am not—there is a huge market of self-publishing authors in need of a program that can take a RTF, Word or Pages formatted document and smoothly turn it into an EPUB or AZW file.

  • Help with an epub using indesign cs6

    Hi there guys and gals I need some help trying to make an epub for my wives book. The problem is that my wifes book consist of pictures with the words in them. Im trying to make it so we can try and publish it. the problem is im not sure what the right formatting would be to use in indesign please feel free to message me on here with either videos or even links to information that possibly help.

    Video: http://tv.adobe.com/watch/creative-suite-podcast-designers/how-to-maintain-formatting-when -exporting-your-epub-from-indesign-cs6/
    Link: http://helpx.adobe.com/indesign/using/export-content-epub-cs6.html

  • Why can't i convert a PDF to word - I used to be able to.

    Why can't i convert a PDF file to word?

    Hi,
    It seems it was working fine earlier.
    It might be possible problem is file specific.
    Did you check with different files?
    Is it showing any error while you are converting?
    Regards,
    Florence

  • PDF with comments crashing, using InDesign CS3

    I'm using OS10.6 and switching back and forth between Acrobat Pro 9.3.4 and InDesign CS3 5.0.4.  I have Firefox running too, as well as Bridge and Word.
    The PDF was originally made by me.  I email it to my client and she adds comments using her Windows PC - I don't know any more details.  She then Saves As and emails back to me.
    I then open the PDF with comments and start to work through them, making amendments in InDesign, and then marking the comment with a checkmark.  The PDF seems to randomly crash - sometimes it will work fine for a while, sometimes it just won't and crashes each time I open it.  As a result of this random crashing, I'm saving after every comment I process to keep track of what comments I've done.  (EDIT) Sometimes after the crash none of the comments are checked, despite me checking them and saving the file.  V frustrating and time consuming.
    Any ideas??  Thanks.
    Message was edited by: agreen01

    There is a feature in interactive PDF called Show/Hide fields which may or may not give you what you want. You can create a button of an image or other object which will make another object (button) appear. Do a Google search on "Show Hide Field InDesign Tutorial"

  • Converting from pdf to ps file using java

    hi i want to convert pdf file into ps file (pdf are in multiple languages ( languages belongs to india))using java.
    any one can help me urgent.

    Does this need to be done through a Java app? Ghostscript can do this. As long as it's running on a linux system, I suppose you could use Runtime.exec("gs command");
    Not sure exactly what the command is, I just know it can do it.

  • Fix Arabic characters copy on a PDF made using InDesign CS

    Hi there,
    I'm trying to copy some text from a PDF that wast created using InDesign CS. The text is on Arabic, I can read it correctly but when I copy it, it transforms to strange characters. What is confusing is, the latin text can copy correctly!
    You can view an extracted page from this PDF here: https://db.tt/XpLvmJE0
    Is the error related to the font? or to the old InDesign CS (codenamed Dragontail: October 2003)
    Thanks for your help.

    Resolved!
    I got it working with some help from PHP
    utf8ToUnicodeCodePoints (I use preg_replace_callback both with ord and json_encode)
    remapCodePoints to original code point
    then reverse the string to match arabic's rtl
    The code:
    $str = '»°ù«îÑJ';
    echo utf8_strrev( utf8ToUnicodeCodePoints($str) ); // echoes; تبخيسـي
    function utf8ToUnicodeCodePoints($str) {
        if (!mb_check_encoding($str, 'UTF-8')) {
            trigger_error('$str is not encoded in UTF-8, I cannot work like this');
            return false;
        return preg_replace_callback('/./u', function ($m) {
            $ord = ord($m[0]);
                        $decoded = '';
                        //if it were ASCII it would only ever return integers up to 127
            if ($ord <= 127) {
                $decoded = remapCodePoints( sprintf('\u%04x', $ord) );
                        // values higher than 127 in a UTF-8 string represent the beginning of a multi-byte character
                        else {
               $json = trim(json_encode($m[0]), '"');
               $decoded = remapCodePoints($json);
                        // Returns something like \u00bb
                        return $decoded;
        }, $str);
    // Match code points to new ones
    function remapCodePoints($str)
              Total glyfs in AXtSAlwaBold; 108.
    $unicode_table = array( '\u03bc'=>'ك','\u03a0'=>'ل',
    '\u0020'=>' ', '\u0028'=>')', '\u0029'=>'(', '\u002c'=>'،',
    '\u0041'=>'ء', '\u0042'=>'~', '\u0043'=>'', '\u0044'=>'', '\u0045'=>'', '\u0046'=>'ئ', '\u0047'=>'ا', '\u0048'=>'ب', '\u0049'=>'ة', '\u004a'=>'ت',
    '\u004b'=>'ث', '\u004c'=>'ج', '\u004d'=>'ح', '\u004e'=>'خ', '\u004f'=>'د',
    '\u0051'=>'ر', '\u0052'=>'ز', '\u0053'=>'س', '\u0054'=>'ش', '\u0055'=>'ص', '\u0056'=>'ض', '\u0057'=>'ط', '\u0058'=>'ظ', '\u0059'=>'ع', '\u005a'=>'غ',
    '\u0061'=>'ف', '\u0062'=>'ق', '\u0063'=>'ك', '\u0064'=>'ل', '\u0065'=>'م', '\u0066'=>'ن', '\u0067'=>'ه', '\u0068'=>'و', '\u0069'=>'ى', '\u006a'=>'ي',
    '\u006e'=>'َ', '\u006f'=>'ُ',
    '\u0071'=>'ّ', '\u0072'=>'ْ', '\u0073'=>'َّ', '\u0074'=>'ُّ', '\u0075'=>'ِّ',
    '\u00c4'=>'ئ', '\u00c9'=>'ا', '\u00d1'=>'ب', '\u00d6'=>'ب', '\u00dc'=>'ب', '\u00e1'=>'ة', '\u00e0'=>'ت', '\u00e2'=>'ت', '\u00e4'=>'ت', '\u00e3'=>'ث',
    '\u00e5'=>'ث', '\u00e7'=>'ث', '\u00e9'=>'ج',
    '\u00eb'=>'ح', '\u00ed'=>'ح', '\u00ee'=>'خ', '\u00ef'=>'خ', '\u00f3'=>'د', '\u00f2'=>'ذ', '\u00f4'=>'ر', '\u00f5'=>'ز', '\u00f9'=>'س', '\u00fb'=>'ش',
    '\u00fc'=>'ص',
    '\u2020'=>'ض', '\u00b0'=>'', '\u00a2'=>'', '\u00a3'=>'ط', '\u00a7'=>'ط', '\u2022'=>'ط', '\u00b6'=>'ظ', '\u00a9'=>'ع', '\u2122'=>'ع', '\u00b4'=>'ع',
    '\u00a8'=>'غ', '\u00d8'=>'ف',
    '\u221e'=>'ف', '\u00b1'=>'ف', '\u2264'=>'ق', '\u2265'=>'ق', '\u00a5'=>'ق', '\u00b5'=>'ك', '\u2202'=>'ك', '\u2211'=>'ك', '\u220f'=>'ل', '\u03c0'=>'ل',
    '\u222b'=>'ل', '\u00aa'=>'م', '\u00ba'=>'م', '\u2126'=>'م', '\u00e6'=>'ن', '\u00f8'=>'ن',
    '\u00bf'=>'ن', '\u00a1'=>'ه', '\u00ac'=>'ه', '\u0192'=>'و', '\u2248'=>'ى', '\u00ab'=>'ي', '\u00bb'=>'ي', '\u2026'=>'ي',
    '\u2019'=>'لا',
    '\u00d3 '=>'لا'
              return $unicode_table[ $str ];
    // reverse the direction
    function utf8_strrev($str){
        preg_match_all('/./us', $str, $ar);
        return join('',array_reverse($ar[0]));

  • Converting to PDF -- why is it different?

    Hey there. I'm an editorial assistant and my boss and I have
    been working on several books recently. What we can't understand is
    why the pdf turns out differently sometimes than what's actually on
    the page in the Microsoft Word document we're trying to convert.
    Shouldn't Adobe simply reproduce what we've created in Word? What
    are we doing wrong? What do we need to change? Whatever insight you
    can give would be greatly appreciated. Thanks.

    Hi,
    The main question is what method you are using to convert to
    pdf?
    Are you using acrobat.com to do the conversion?
    Or are you using the pdfmaker that ships with the regular
    acrobat, or some other method?

  • How do I convert from pdf to pdfa in Acrobat 9?

    How do I convert a pdf to a pdfa using acrobat 9? I have windowx xp home edition. When I try to hit "save as", more options etc, I am not getting the option to save as pdfa. Rather, it is simply saving the document. Thanks.

    For Acrobat 9 Pro it is:
    File > Export > PDF/A
    Be well...

  • PDF corrupted when trying to convert to PDF

    I have a problem converting a file to PDF from WORD 2007.
    The whole thing becomes corrupted, including: change in orientation of pages, omission of page numbers, corruption of tables...
    This happens when printing to PDF, saving as PDF, trying to convert to PDF outside WORD or using an online system... When using another converter (the one that comes with my Windows System), the file is still corrupt, just slightly less so.
    I think it must be a problem with the file as it doesn't happen when I try to convert other documents - but how to identify and eliminate that problem in the file? I tried to copy over to a different document, but that did not work either.
    One strange thing is also that once I ask WORD to print to PDF, it actually also changes the WORD file, with changing the orientation of the first pages etc. and the numbering of tables and figures.
    Urgent help required, as this is actually a scientific paper I need to resubmit today!!
    Many thanks!

    This sounds like a Word issue - simply formatting for printing is doing bad things to your file. Is it possible this is just the normal reflow Word does, and you are not set up to expect it? Expect line breaks to change, and hence text to move between pages.
    You may need to select the Adobe PDF printer as your default and "fix" the word document.
    The page numbers - are they automatic or typed manually?

  • I am trying to convert Tamil PDF file to MS Word.

    Hi. I am trying to convert Tamil PDF into MS Word  using Adobe Reader XI. I have installed the required fonts.
    In the convert option, I don't see Tamil language as an option.(OCR).
    I see the fonts in MS Word.
    What are the steps.?
    Thanks
    Ravi

    I doubt that Tamil language is supported in ExportPDF; it's not even supported in Acrobat.
    Try Contact Customer Care - use the blue Still need help? button to chat with an agent.
    [topic moved to ExportPDF forum]

  • Excel 2013 hyperlinks will not transfer when converting to pdf

    Hyperlinks in Excel file do not transfer when I convert to pdf. I am using Excel 2013 with Acrobat XI Pro.

    While Crystal exports to pdf indeed lose hyperlink functionality (both in Crystal as well as in Visual CUT), Visual CUT allows you to use Crystal formulas (acting as hidden Tags) to create hyperlinks in the resulting pdf file. Another option supported by Visual CUT it to automatically detect file references in the pdf text and turn them into hyperlinks.  Contact MilletSoftware for more detail.
    Edited by: Ido Millet on Oct 27, 2010 5:11 PM

  • I am having problems exporting to PDF using InDesign for Mac.

    Hi all!
    I just started using the Creative Suite on Mac and have run into a couple problems. One is that when I set up a document in InDesign using "Facing Pages" and then export to PDF, the document exports each set of "Facing Pages" as one singular spread (my 20 page InDesign document becomes a 10 page PDF). Once it is a PDF, there are no page break lines in the center of the spread to indicate that they are two separate pages, and when I try to set up viewing preferences in Acrobat (single or double page), it too recogrnizes each spread as a single page.
    When I used to do this in InDesign using Windows, whether I exported to PDF or printed to PDF from a document set up with "Facing Pages," each page would still be considered separate once converted to PDF (20 page InDesign docment becomes a 20 page PDF).
    This also leads me to my next question : I see that on Mac, there is no option for printing to PDF, but I notice a quality difference specifically when it comes to linework (vector information) that has been "placed" in the document from Illustrator. Is there any way to achieve the quality of printing to PDF on Mac?
    Thank you in advance!
    Gabby

    Hi Bob, I just tried your suggestion, but the interactive PDF is in spreads by default, no way to change the setting. When I choose to view by single page in Acrobat, it displays a single spread.
    When I choose to view by spreads, it displays 4 pages, two spreads. That's the topic of this whole discussion, I believe. I do own CS 6 at home, however my employer supplied me with CS 5.5. And I have very little, if any, influence on purchasing.
    So, I have no good way to make an interactive PDF (with differing recto/verso headers and footers), that is accessible and shows the correct header/footer. It's either single pages (with one header/footer), or recto/verso headers/footers but PDF only as a spread, as well as I can tell.
    Unless you know something else I can do...
    Best, Marilyn

  • How to create interactive pdf for Ipad using InDesign CS6

    Hi I created a Magazine layout using InDesign CS6 and wanted it to be viewed on native Ipad reader (but not as apps).  I put interactivity features like page navigations and hyperlinks and converted it to interactive pdf. The problem was the links and buttons are not showing on Ipad.
    I tried using Acrobat Pro to create the hyperlinks and this time the navigations and hyperlinks are showing. But is there a way not to create the hyperlinks manually one by one (specially the next page and previous page). If I have more than 100 pages of documents this process will be very tedious.
    Is there a solution to create the interactive pdf directly from InDesign without creating the links in Acrobat?

    Hi Guys
    This is Sean Smith.  Marilou who wrote the original post works for me.  Bob if you could point us in the direction of details you need I’ll ensure we provide the additional information as soon as possible.
    M tells me she pretty much doing exactly what Steve's article suggests.
    The concern is what a remarkably cumbersome process this appears to be.
    Even though I believe her explanation entirely I find the problem to be highly disconcerting as it’s wasting an immense amount of valuable time and inhibiting the production process significantly.
    She is producing wonderful results but via an immensely painstaking process fraught with potential for error.  Each page link has to be manually linked to the next by number.  It’s entirely possible to make a mistake and link to the incorrect page thus missing pages.
    If she inserts a new page – guess what? All the pages links have to changed manually and double checked yet again.
    If she makes a ‘Contents’ section as we do and exports the InDesign file as an interactive PDF all the contents items and links are missing and are therefore blank.
    She then has to export the document as a plain PDF and do the job again in Acrobat.
    For an extravagantly wealthy company with such extraordinarily expensive software I find this to be entirely incredulous.
    Who is the Product Manager for InDesign?
    Are they aware of this issue?
    What are they doing about it and when will it be done?
    Just curious are you guys paid employees or volunteers as this appears to be an official forum and we are new here?
    Digital publishing of PDF magazines appears to be an explosive growth market especially for platforms such as the iPad but this primary product for the task appears to be inadequate or ill-conceived.
    Is DPS a possible solution or is this more for Apps than PDF production?
    Regards
    Sean

Maybe you are looking for