Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2014, 08:48 PM   #1
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
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?
kerliza is offline   Reply With Quote
Old 09-21-2014, 09:06 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sho...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Advert
Old 09-22-2014, 07:17 AM   #3
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
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
Attached Files
File Type: azw3 Ch01kindletest.azw3 (5.52 MB, 166 views)
File Type: txt kindletest log-9-22-14.txt (4.6 KB, 198 views)
kerliza is offline   Reply With Quote
Old 09-22-2014, 07:56 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to attach the epub not the azw3
kovidgoyal is offline   Reply With Quote
Old 09-22-2014, 08:38 AM   #5
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
Here is the epub, thanks for clarification!
Attached Files
File Type: epub Ch01kindletest .epub (3.63 MB, 170 views)
kerliza is offline   Reply With Quote
Advert
Old 09-22-2014, 08:40 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 09-22-2014, 08:52 AM   #7
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
thanks so much for seeing this!

I'll give it a go.
kerliza is offline   Reply With Quote
Old 09-22-2014, 09:01 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 09-22-2014, 09:05 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 09-26-2014, 01:09 AM   #10
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
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.
kerliza is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:52 PM.


MobileRead.com is a privately owned, operated and funded community.