![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: May 2012
Location: Harrisonburg, VA - USA
Device: Kindle, Nook, iPad
|
ebook-convert breaks internal hyperlinks?
Hi!
I have a shell script I use to grab some URLs generated by my app via wget, and then convert the XHTML documents into EPUB and MOBI ebooks, thanks to Calibre. Very nice. I have added internal hyperlinks to the XHTML documents to link footnote markers in the text to endnotes at the end of the document and vice versa. Code:
My footnote marker<a href="#endnote_1x824" id="marker_1x824">1</a>. ... <li id='endnote_1x824'>My footnote text. <a href='#marker_1x824'>^</a></li> But after I convert a document to EPUB, the links are messed up: Code:
<li id="endnote_1x824" class="calibre19">My footnote text. <a href="{HTML filename}#marker_1x824">^</a></li> |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: May 2012
Location: Harrisonburg, VA - USA
Device: Kindle, Nook, iPad
|
Thank you, Kovid! This helped me identify the problem, which was caused by a flag on wget, not by Calibre. Sorry for adding static to the forum, and thanks again for all you do!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil TOC breaks internal links | LarsEighner | Sigil | 1 | 09-03-2013 10:23 AM |
losing internal hyperlinks. Need Help! | JLogue | Sigil | 2 | 08-24-2012 05:57 PM |
Batch breaks after ebook-convert.exe | j0s3f | Calibre | 1 | 05-04-2011 05:27 PM |
Does the latest Kobo support internal hyperlinks yet? | KevinH | Kobo Reader | 3 | 04-11-2011 02:48 PM |
PDF with internal hyperlinks to MOBI | wlloydw | Conversion | 3 | 02-23-2011 04:33 PM |