My answers to the above questions:
1. & 2. Internal hyperlinks don't work in either a book or an individual document, although the TOC does seem to work.
3. & 4. PC, Windows XP SP3
Using InDesign CS5.5, internal hyperlinks are properly exported as clickable hyperlinks in an EPUB file. Cross-references are converted to hyperlinks in an EPUB file.
I'm working in InDesign 5.5, producing an eBook. I have several URL links, but when I export to ePub, they do work. When I try it in iPad, I touch the link, and I am taken to the first page of the book, but not to the link. I have tried this in Sony Reader, as well as Adobe Digital Editions. None of them are active hyperlinks.
Any idea what I'm not doing?
With the utmost respect to Gabriel, this problem was not fixed in 5.5. I have the same problem. Yes, the hyperlinks work fine in a single epub document, but they do not work correctly in books.
You will find you need to export the entire book to an epub, then unzip it with 7zip, correct the hyperlinks, and rezip it. You'll need to know HTML for this.
According to other posts I've read on this forum, InDesign leaves out a part of the <a href> code when it exports a book.
I found this post here somewhere, but I don't remember where:
"Wherever you see an <a href="#your_anchor_name"> place the filename you are linking the cross reference to in front of it. If you are linking to the chapter title for a TOC item, and the filename for chapter 1 is Chapter 1.xhtml, do this: <a href="Chapter 1.xhtml#your_anchor_name">. You have to do this for every cross reference."
I hope this helps. It's a real pain, but it seems to be the only answer.
I appreciate your help.
It is quite a pain, as I have literally hundreds of URL links in each book.
I know what you mean, David. I have about 85 hyperlinks in one book, and I'm not looking forward to editing each one of them.
I hope somebody at Adobe will finally believe us.
Hopefully they'll solve this soon.
Tomorrow could be a game-changer for the ePub world - when Apple makes their announcement... We'll see.
I have CS5, and I mostly use single documents, BUT I can get both types of hyperlinks to work using the last script on this page, called "Export to EPUB with corrected links" http://www.teusdejong.nl/thome/ho_body5.html
This is little help for a book of 200+ pages, with literally hundreds of links.
My ONLY realistic solution is simply remove the hyperlinks for this book. Perhaps I can produce a revised edition once Adobe solves this major problem.
coreem: The explanation that Teus Dejong gives indicates it's not going to be that helpful: "we have found that only the links in documents split by the CS5 exporter will be fixed. For books the script does only work for references to earlier documents in the book, not for forward references. This means in practice that for most books the script will not repair the links and should be seen as a means to add the year only. At the moment I see no way to repair this, because the book epub output of InDesign does not contain sufficient information to repair links referencing forward to others documents in a book."
davidmac: I agree that somebody needs to wake up the developers at Adobe. I wonder if they are aware that Microsoft Word is becoming more and more accepted as the basis from which you can create an epub.
However, as a stopgap, could you use the search-and-replace feature in a text editor? I use Notepad2 (http://www.flos-freeware.ch/notepad2.html). It's freeware, and it has some rather sophisticated tools for a text editor. I would imagine someone in these forums has a better mousetrap, but this one works for me. And it does have a global search-and-replace feature.
Sorry, as I said, I typically work with a single document, even for multi-chapter books, because I just find it easier to work that way. This plug-in does fix the links when working with a single document. I hadn't read the description in some time, so I didn't realize he said that it wouldn't work for books.