![]() |
#1 |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
epub --> azw3 links loss
Calibre conversion of epub to azw3 loses the hyperlinks to endnotes from the text body when viewed in Kindlegen Previewer and Kindle reader for PC.
The hyperlinks work OK from the endnotes to the text position. When I downloaded Softonic Epub to Kindle converter the links to endnotes from within text are just fine, although a bit ugly. However, I want to use Calibre editor and converter as a better program for editing and conversion controls as Softonic software has few features. Editing the same file in Calibre's converted azw3 doesn't reveal what my problem is with loss of links from within text body for Kindle reader for PC. Calibre's viewer shows the links work just fine, but not so in the Kindle readers for PC. Any help for me with this? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
epub --> azw3 links loss
Sorry, not enough info was given in first request to help me.
The file I'm working with converts to azw3 with links to endnotes loss when viewed from Kindle PC reader or Kindle previewer. The file sample attached is a single chapter, no TOC, no cover. I also attached the conversion log file. I will appreciate a solution so I can move forward towards creation of a kindle book version of the epub. Thanks |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to attach the epub not the azw3
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
Here is the epub, thanks for clarification!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Looking at the markup, I'd guess it is caused by your putting the <sup> tags inside the <a> tags instead of outside them.
You have: <a class="calibre5" href="part0000.html#end1" id="endref1"><sup class="calibre6">1</sup></a> change that to <sup class="calibre6"><a class="calibre5" href="part0000.html#end1" id="endref1">1</a></sup> And you should be fine. Presumably the Kindle software cannot handle the former. |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
thanks so much for seeing this!
I'll give it a go. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can also just remove the class="calibre6" from the <sup> tag which should have the same effect.
The thing I dont understand is why it works with a kindlegen produced azw3. Obviously kindlegen is doing something different, I cant figure out what that might be though. |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually, I take that back, running your epub through kindlegen also results in non working links. The problem can be resolved with either of the two workarounds I suggested, swapping the tag order or removing the class attribute.
As best as I can determine, the underlying problem is that the epub uses custom CSS for the <sup> tag, which includes position:relative which the kindle does not support. |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
The solution was provided by re-arranging the <sup> tags to enclose the <a href . . . >
Doing so did solve the problem with links with Kindle to PC 2 reader and Kindlegen Previewer. It took awhile for me to complete the corrections but I hope a heads-up warns others with endnotes or other <sup> + <a> tags strings will be alerted to the solution with Kindle conversion loss of hyperlinks within text or external sites. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AZW3 to PDF: Any way to carry over the links (e.g. in the Bible)? | bookw0rm | Conversion | 3 | 09-14-2014 02:29 AM |
Touch Normal links becomes footnotes links in epub made with Calibre | il_mix | Kobo Reader | 15 | 08-10-2014 01:19 PM |
Getting Fonts from epub to azw3? | jonalbert | Conversion | 5 | 04-21-2013 10:19 PM |
loss if italics and smallcaps when converting epub to mobi | franklekens | Calibre | 4 | 01-22-2012 02:34 PM |