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 12-04-2012, 12:02 AM   #1
psYon
Junior Member
psYon began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2012
Device: Kindle, Nook, iPad
epub to mobi conversion changes footnote anchor location

Hey all, long time viewer, first time poster (cuz I couldn't find the answer). There were 2 other threads with similar issues, but not this specific one.

Have an epub file created with the latest version of Sigil. Passes FlightCrew w/ no errors.

Upon converting to mobi via calibre, all but 4 footnotes work perfectly. For those 4- the hyperlink from within the body to the footnote works. The hyperlink from the footnote back to the body does not. It links to a spot further down the in the body.

Footnotes that are not working are 113, 136, 163, and 199. I have attached the mobi and epub files.

Any help to get these sorted out would be greatly appreciated.
Attached Files
File Type: mobi 100 Questions for God - Justin O'Pinion.mobi (352.3 KB, 219 views)
File Type: epub 100qGod_ebok_draft.epub (187.0 KB, 213 views)

Last edited by psYon; 12-04-2012 at 12:03 AM. Reason: Added attachments
psYon is offline   Reply With Quote
Old 12-04-2012, 03:30 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,504
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
The problem is that you have the id links in different places. For footnote 112 you have
Code:
<a id="ref_n112"></a><a href="#ref_112"><sup>112</sup></a>
for footnote 113 you have
Code:
<span class="MsoFootnoteReference"><a href="#ref_113">113</a></span><a id="ref_n113"></a>
The difference between the sup tag and the span is unimportant (except from a styling point of view - there's no guarantee that these footnotes will look the same). The important difference is that the link anchor is after the footnote. Personally, I'd go for a combined link/href like this:
Code:
<a id="ref_n112" href="#ref_112"><sup>112</sup></a>
but there's no real need to change all of them - just the ones where you have the id link in the wrong place.
pdurrant is offline   Reply With Quote
Advert
Old 12-04-2012, 03:49 PM   #3
psYon
Junior Member
psYon began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2012
Device: Kindle, Nook, iPad
Fantastic! That worked. Thanks a bunch!
psYon is offline   Reply With Quote
Reply

Tags
epub to mobi conversion


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion from mobi (to mobi, or epub) breaks internal links bounder Conversion 1 10-09-2012 11:56 AM
Conversion from MOBI to ePub and preserving footnote links bloodfyr Conversion 0 01-31-2012 09:35 PM
"Footnote" location BKh Workshop 20 06-18-2011 01:29 PM
.epub to .mobi after conversion illustrata Conversion 9 05-10-2011 06:09 AM
Epub to Mobi conversion MichaelGray Calibre 2 08-12-2010 01:08 PM


All times are GMT -4. The time now is 09:34 AM.


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