Join Anne-Marie Concepción for an in-depth discussion in this video Creating a navigation TOC with an InDesign book, part of InDesign CS6: EPUB Kindle and iPad.
Things are a little different if you are exporting a book to EPUB as opposed to a single document and by book I'm referring to that specific type of InDesign file New > Book. There is essentially a collection of individual InDesign documents that you can export to prints or PDF or EPUB all at once. So here is our original one document book that just has four different sections in it divided by subheads, and I have gone ahead and split that up into four separate documents.
If you look in the exercise files I have just one document that's the Bio. Let's just go a head and open this up. So you see here is the Bio Biographical background, and then I have collected them all into a Book. So if I go to File > Open and then in the exercise files go to book, I am going to open up the INDB file which is InDesign book, and it opens up as a Panel, and if I have this document open, and then I modified it outside of the book so I want to go a head and double-click it and then now it's up to date.
So we have the Flemish InDesign document, the Bio, Later-years and Other Painters. If I want to export this to EPUB I just go to the Book Panel menu and choose Export Book to EPUB. Let's go ahead and do that. Where do you want to save it? I'll save it right there in the desktop just call it z-ArtText, yeah that's fine. We are going to accept the defaults and for Image and for Advanced, everything is at the defaults click OK.
And notice what happens with the Navigational Table of Contents that we have entries in here and each one is the name of the InDesign file and a div actually split them up, well actually what it did was it left them alone. When you export in InDesign book to EPUB that special kind of book file it's made up of multiple files each document becomes an HTML file in the final EPUB and so each document becomes its own entry in the Navigational Table of Contents.
You may not like these titles that's it using but you can easily edit this after we crack open the EPUB you can go ahead and edit what is the text that appears here, and I have a video that shows you how to do that or you could think ahead and rename your InDesign document before you export them to EPUB. And I did that in another version of the book. Let's close this documents, and we will open up the other one to the Exercise folder called Art Text - named and again I must have open up a document outside of the book.
If you see that when you open up the book files just double-click on one of the triangle that's all and notice how I have renamed these files. So 1 Flemish Painting, chapter 2 Biographical background, then Dyck's later years and Other Painters that are exactly how they're named in the Finder. Now one problem with this is then the XHTML files have the spaces in filenames and may be that was the first video I talked about in this chapter. And it's, I don't know, six of one and half dozen of the other. Personally what I would do would be to name them safely and then edit the Nav TOC file down the line.
But I just want to show you, that this way is possible as well. So if I go ahead and export this to EPUB and call it named everything is that the Default setting, click OK, so we get nice-looking entries here in our Table of Contents on the left and clicking on them the text automatically starts to the top of the page because it is already split, it is already a separate document. I know that a great number of books that you are trying to export to EPUB exist in this kind of file format as InDesign book.
I just want to bring its your attention that when you're dealing with a book you really don't have to worry about using a TOC style if you don't want to because you already get a Navigational TOC created automatically from the names of the individual InDesign files in your book.
- Understanding the differences between ebook formats
- Best practices for InDesign file preparation
- Managing the content flow with Layout order and the Articles panel
- Using free InDesign scripts to automate EPUB productions
- Optimizing images, charts, and tables
- Opening and examining EPUB files
- Editing important CSS and HTML tags
- Including drop caps, pull quotes, and text wraps
- Enriching your EPUBs with video and embedded fonts
- Acquiring an ISBN for ebooks
- Converting EPUBs to Kindle format (MOBI and KF8)
- Distributing ebooks with resellers and aggregators