Skip navigation
Currently Being Moderated

TOC to ePub issue

Nov 13, 2010 1:59 PM

InDesign CS5; MacOS 10.6.5

 

When I export my TOC document to ePub, the TOC doesn't show—only the last two pages containing text and an image.

 

The TOC has defined paragraph styles. I think I have my export settings correct.

 

Help in isolating this issue is appreciated.

 

Note: Viewing other documents in the book via export to ePub do show up correctly—although the book does need formatting tweaking for ePub.

 

Also, when I tried exporting the entire book via the book panel, InDesign begins the export, but no activity in the progress bar; I have to force quit to get out the endless loop. Then, when I restart InDesign, untitled files begin to open—10, 20 and so on; I then have to manually close each file.

 

I suspect the TOC is causing this issue.

 
Replies
  • Currently Being Moderated
    Nov 14, 2010 3:39 PM   in reply to thesoulartist

    I don't export using the TOC function as I think it's very hit and miss.

     

    I export it and then link up the TOC in Dreamweaver becuase I have to edit the epub anyway to make it validate. It's very simple to link up the TOC and will only take a few minutes to do 50 odd chapters.

     

    I then edit the TOC .ncx file and shift around the </navPoint> to get the TOC Levels correct.

     

    I know that didn't help you, but I think it's a much better solution, because just by doing a quick search here will reveal numerious threads about not being able to get the TOC funtion happening...

     

    My method saves time and headaches

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 14, 2010 5:59 PM   in reply to thesoulartist

    thesoulartist wrote:

     

    Let me add the following to this issue:

     

    1) My book has 53 chapters (each within its own file), some 500 pages.

     

    Was that 500 pages in total, or 53 chapter each contining 500 pages.

     

    I would try leaving it go, for like 1/2 hour or something, even though it says not responding. See what happens...

     

    If that fails. Then open and do a "Save-As" on all the files into a new folder on your desktop, reinsertthem into a new book and try for that one.

     

    In the past when I have tried from files which were originaly created from IDCS3, and I've opened and tried make an epub from IDCS5. I've had similar things happen. But once I'd done a Save-As into a CS5 document all was good with the world

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 14, 2010 6:40 PM   in reply to thesoulartist

    Yes, that's correct. Once I resaved old "CS" files into the new version, including the book file. Everything worked ok.

     

    And I'm not talking about simply doing a Save (thinking that will save in the current version) I'm talking about a Save-As into a different folder in a different location... ie you desktop

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 14, 2010 7:56 PM   in reply to thesoulartist

    Don't stress as page numbers are redundent in epub because it a continous flow, so there no page numbers...

     

    As a rule though I always turn it off, because if you reorder a file take forever for it to renumber the files.

    If you have it ticked off before you load up you files then it will be fine.

     

    Picture 1.png

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2010 8:18 PM   in reply to thesoulartist

    Sure...

     

    Depends how much you already know about unziping and reziping epubs, and about the internal workings as to how detailed I will need to get

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2010 9:01 PM   in reply to marcusstringer

    Firstly. Unzip your epub file

     

    Change the filename from "filename.epub" to "filename.zip"

     

    Unzip the file

     

    Picture 1.png

    Picture 2.png

     

     

     

    So you will see under the OEBPS folder all of your files as "filename.xhtml"

     

    Also a .css file which holds your style for the books (paragraph and character style)

     

    Step one (linking your TOC)

     

    Open you TOC file in Dreamweaver.

     

    Select the first entry

     

    Click on the picture of a folder in the bottom box

    Picture 3.png

     

    Select the corresponding file. In this case it's Acknowledgments.

     

    rinse and repeat all entries in your TOC (sure it's repeatitive but it works).

     

    Then open your individual files which you have link to from your TOC. (you can open them all at once)


    Select something to link back to, and point the link back to the TOC file.
    Rinse and repeat

    Picture 4.png

     

    The once you have done this.
    you need re zip your your folder to an epub.
    Down this applescript from this first post.
    http://www.mobileread.com/forums/showthread.php?t=55681&highlight=epub +mac+zip
    Simply drag you folder onto it. this will zip up you folder into a .epub

     

     


     
    |
    Mark as:
  • Currently Being Moderated
    Jan 26, 2011 12:02 PM   in reply to thesoulartist

    My book doesn't need a TOC page, just the NCX one that is based on my TOC styles.

    This is working, with just one quibble. The front pages (copyright, dedication, etc.) don't have the necessary Chapter Titles to get them listed and I don't want to have those words on the page.

     

    I'm not clear if your manually coded TOC page would add those extra pages to the NCX.

     

    Thanks for the help, this is my first conversion and the TOC has been the biggest headache.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 26, 2011 12:51 PM   in reply to thesoulartist

    Hi, this might be irrelevant, but for iPad, page 1 needs to be a single image and the contents need to be on page 3... if I've understood correctly. Maybe just iPad-spec though, not necessarily ePub.

     

    See http://terrywhite.com/techblog/archives/5179

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 28, 2011 11:47 AM   in reply to kazberry

    Found the answer! I used hyperlinks in InDesign, which lets me select the top thing on a page (can be an image or empty paragraph) and make that a  destination. (I named them each with the document name.) I did that for every document in my book. Then in my Contents page I selected each line and made it a hyperlink to that.

     

    Now when I export to Digital Editions (not using the TOC options), my Contents page has links that go to the top of each document instead of the chapter title.

     

    The only change I need to make in the HTML is to fix the TOC.ncx file, changing the "text" tag to be the full chapter names instead of the file names.

     

    The ebook reader's navigation now works perfectly.

     

    Two things I have learned the hard way:

     

    1. name the files in your book with HTML-compliant names: short, no punctuation or spaces.

    2. to save all the open files in a book, the keyboard shortcut is command-option-shift-S, and then command-option-shift-W will close them all. I don't know why those options don't appear in the menus.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 1, 2011 12:39 PM   in reply to kazberry

    I am relatively new to Indesign. I am tryiing to make a ePub file for a book. I am using the book option to create it. However I need it to have one more TOC that is inside of the document and it is visible and working  after conversion. I have it in the indesign file.I used hyperlinks in InDesign, which lets me select the top thing on a page and make that a  destination. (I named them each with the document name.) I did that for every document in my book. Then in my Contents page I selected each line and made it a hyperlink to that.  like "kazbery" sugested. When i export the book to ePUB all i get is the automatic TOC and the pages where the TOC i created and see in indesign file just desapear. What to do?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 1, 2011 2:19 PM   in reply to MPKrusheva

    MPKrusheva,

     

    What version of InDesign are you using? InDesign CS5.5 is by far the best choice for EPUB output.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 1, 2011 5:47 PM   in reply to Steve Werner

    I am using InDesign CS5. I tried a lot of things and so far nothing works. Badly need help!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points