Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub


Thread Tools Search this Thread
Old 11-16-2011, 12:18 AM   #1
eggheadbooks1 doesn't littereggheadbooks1 doesn't litter
Posts: 82
Karma: 178
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
"Offending" hyperlink bug in InDesign CS5 causes TOC to fail and missing text

Hi everyone:

While converting my latest book, [self-promotion removed - moderation], into an ePub from InDesign CS5, I stumbled upon another annoying bug: if any external hyperlinks contain an ampersand in the address, InDesign will fail to parse the link and any content that succeeds the link will fail to export, but InDesign will not return any error message to tell you what happened. If you are working from a single file, the ePub will fail to export and ID will crash; if working from book file, the book will export but any text in the individual xhtml file that contains the offending link will fail to be generated past the point of the link.

The addendum to this bug is that if you have a TOC that makes use of headers for generation, if using the book function the file/chapter level entries will be generated but not any header-based TOC entries because, it appears, this code is generated last and since InDesign fails to export anything after the link, the TOC entries will be missing. That's how I figured out the problem: only those chapters where text was missing also had missing h2 entries in the TOC.

Many thanks to John Schember, lead developer of Sigil, and regular contributor on this forum, for figuring out the ampersand issue: all instances of an ampersand in a link had to be amended in the Hyperlinks Options to "&". Once that was done, both the problem of missing text and missing TOC entries were solved simultaneously.

Just passing the solution on.

[non-forum made signature link removed - moderation]

Last edited by dreams; 11-16-2011 at 03:46 AM. Reason: non-forum made signature and promotion link removed
eggheadbooks1 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is a navigational TOC possible using InDesign cs5? suzanneskifirst ePub 3 07-09-2011 01:05 AM
Critically Annoying Bug in InDesign CS5.5 Adjust ePub 2 06-05-2011 03:27 PM
inDesign/epub -- TOC missing subchapters/appears as dropdown rosajurjevics ePub 6 05-23-2011 08:14 PM
Repeated "Ignoring missing TOC entry" when converting PDF to MOBI goldenhair Calibre 2 01-19-2011 10:30 AM
Getting calibre to detect "Prologue" and "Epilogue" for TOC sherman Calibre 2 09-20-2010 02:21 AM

All times are GMT -4. The time now is 05:47 PM. is a privately owned, operated and funded community.