This may have been going on for a while, but it was just brought to my attention in some recent book conversions. The books were brought into Calibre as filtered html from Word, and some of the headers in the book (for example, the About the Author section at the end) were bookmarked in Word as anchors for hyperlinks from a TOC at the front. In the past, this has worked flawlessly; the links went to the section headers, and the headers looked like any other H1 style header.
Now what I'm getting is headers that look as if they are hyperlinks (blue, sometimes underlined, cursor changes on mouseover, etc.) but that don't link to anything. And they shouldn't; they're targets, not links.
I can't see anything wrong in the source files, but in recent conversions, I've been seeing this result fairly consistently in the epubs (not the mobi). The problem does not show up in the Calibre viewer, but it does in ADE.
I can't figure out what's causing it, and I wonder if it's a bug that crept in somewhere along the line. (I looked at some older conversions just to check, and the problem didn't occur in them. Those were over a year old, though.)
I'm trying to attach the source and output files of one example, but the system here doesn't want to accept the .docx or html files. With luck, the epub at least will upload. Okay, and the .zip of the input file. These I believe were converted with Calibre 1.29. I just ran it again and captured the conversion details, attached.
As far as any changes from defaults, I'm not really sure, but here's one line I know I changed that might bear on it. It's the "detect chapters at" under Structure Detection:
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\s+', 'i')) or @class = 'chapter']
I hope this helps.
Now what I'm getting is headers that look as if they are hyperlinks (blue, sometimes underlined, cursor changes on mouseover, etc.) but that don't link to anything. And they shouldn't; they're targets, not links.
I can't see anything wrong in the source files, but in recent conversions, I've been seeing this result fairly consistently in the epubs (not the mobi). The problem does not show up in the Calibre viewer, but it does in ADE.
I can't figure out what's causing it, and I wonder if it's a bug that crept in somewhere along the line. (I looked at some older conversions just to check, and the problem didn't occur in them. Those were over a year old, though.)
I'm trying to attach the source and output files of one example, but the system here doesn't want to accept the .docx or html files. With luck, the epub at least will upload. Okay, and the .zip of the input file. These I believe were converted with Calibre 1.29. I just ran it again and captured the conversion details, attached.
As far as any changes from defaults, I'm not really sure, but here's one line I know I changed that might bear on it. It's the "detect chapters at" under Structure Detection:
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\s+', 'i')) or @class = 'chapter']
I hope this helps.