Reply To: Page anchor not found

Home Page / Forums / EPUB and eBook / Page anchor not found / Reply To: Page anchor not found

#77965
Kevin Callahan
Participant

MIchael, you’re halfway there using the method you describe to create the TOC.

You can insert the created TOC text in place in the InDesign document. I often add it as a standalone, unthreaded page, after the Title Page. If the Title Page and TOC are the first, unthreaded, pages in the document, the EPUB export will make those 2 the first pages of your EPUB. (The reason your TOC is showing up at the end of the EPUB is probably because your whole book is threaded EXCEPT for the TOC; InDesign exports the first text box it finds moving in from the top left corner of a page, and includes that box’s entire thread of text, even if it’s 300 pages, until it moves on to the next text box on the page).

There’s another approach: when exporting a document in which you’ve let InDesign create a TOC, point to that TOC in the export to epub dialog box. It’s in the first screen of the export process; in CC2015 it’s under Navigation TOC. This will generate the toc.xhtml, which is used for device navigation. But, you can also use it as your live, in-book TOC if you add it in order to the spine in the content.opf.

Whichever method you use, make sure you have Landmarks designated in the toc.xhtml. Here’s a link explaining them: https://ebookflightdeck.com/handbook/landmarks

This article was last modified on September 8, 2015

Comments (0)

Loading comments...