64625

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Page anchor not found #1238434
    Curt Bianchi
    Member

    Hi Brian

    I believe the problem with the non-live link in an index entry is because the second page of a multi-page index entry has an empty href:

    <p class=”Index-Level-1″>avant-garde jazz, 41–42</p>

    The second href is empty. These could be fixed manually after exporting from InDesign with search and replace so that the second page number is no longer be a link. I.e.:

    <p class=”Index-Level-1″>avant-garde jazz, 41–42</p>

    The problem with endnotes in a multi-file document is that, unlike index entries, the links of endnotes (in both directions) do not include the file name. So in the multi-file case, the links do not work. That is, InDesign exports endnotes like this:

    <p><span id=”endnote-001″>1Personal interview, Sep. 15, 2003.</p>

    When you really need this:

    <p><span id=”endnote-001″>1Personal interview, Sep. 15, 2003.</p>

    In addition, the links in the body text files to the index would also need to name the file containing the index entries themselves. This is also broken in multi-file ePubs exported by InDesign.

    The missing file name prevents the links from working in a ePub reader, and also throws errors in ePub validators. I have not submitted my files to Amazon or anywhere else, so I’m not sure whether these would be accepted as is. The endnotes can be fixed with search and replace after exporting from InDesign. Obviously, it is less than optimal to have to edit the ePub files after exporting from InDesign, and it would be very helpful of Adobe fixed these problems.

    in reply to: Page anchor not found #1238174
    Curt Bianchi
    Member

    Thanks for the feedback, Brian. So I spent a good part of the day investigating this. I created a document with just one of my chapters and then added about 50 index entries. When exporting to ePub, I got another “page anchor not found” error. I whittled down the number of index entries to less than ten and still got the error. However, the number of the anchor in error changed as I did that. Once I was down to six index entries (and still getting the error), I cracked open the ePub and looked at the files. No problems with the index entries. The links in the index itself were all there, and the anchors in the chapter were also all there. So the index is good, and the chapter is good. I’m coming around to the same conclusion as you, that although InDesign throws this error, it does not indicate a bad ePub.

    My book is also pretty complex and large, with about 1,500 endnotes and I expect a similar number of index entries when I’m all done. It is maddening that the endnote links are missing the destination file when exporting an ePub with the spilt document option, but I can fix that at the end of the process. I am also aware of the problem with index entries spanning multiple pages, and I can fix that, too. My big concern is wasting time constructing the index in InDesign, only to find out it is corrupted. I guess at this point I’m reasonably confident that that is not the case, so I will keep going.

Viewing 2 posts - 1 through 2 (of 2 total)
>