Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2010, 07:06 PM   #1
ccosner
Junior Member
ccosner began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2010
Device: All
mobi endnotes

Hello,
I am creating the epub by export from InDesign, then epub-->epub in Calibre. Then creating mobi from Calibre and viewing in Calibre and Kindle Previewer.

In the epub and mobi, the endnotes are hyperlinked.
In epub they go right to the note.
In mobi, they go to the first note, no matter which one is clicked.


The underlying xhtml in the epub looks like this:
reference:
<span class="superscript"><a href="#anchor-65-anchor">3</a></span>
endnote:
<li class="nt-numbered-with-overrides"><a id="anchor-65-anchor"></a>

The endnotes are an ordered list, i.e., <ol>.

Any ideas how to approach this?

Thank you.
ccosner is offline   Reply With Quote
Old 10-28-2010, 06:23 PM   #2
ccosner
Junior Member
ccosner began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2010
Device: All
In testing I've isolated the problem to the fact that the notes are set up as a list (<ol>).

If I create embedded endnotes in Open Office, export to html, then convert to epub and mobi, it works fine. It works fine if the anchor is a <DIV> or an <A>, whether then NAME attribute or ID is used. If I wrap each note in a <li></li> and the whole thing in <ol></ol>, it fails as described in the first post.
ccosner is offline   Reply With Quote
Old 10-28-2010, 07:04 PM   #3
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
open a ticket and attach a test case and I will take a look at it when I have the time.
kovidgoyal is offline   Reply With Quote
Old 11-05-2010, 07:04 PM   #4
ccosner
Junior Member
ccosner began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2010
Device: All
Okay, I found a solution pre-Calibre.

To save InDesign cross-references without <ol><li> tags:
In the export dialog: Bullets and Numbers-->Numbers: Convert to Text. (The other two options in this dialog produce ordered lists that fail to link once Calibre converts to mobi.) The resulting links still work when the file is converted to mobi and Kindle.

Note that if you have *real* footnotes in InDesign (not cross-references), there is no problem with the exported file and the above setting has no effect.
ccosner is offline   Reply With Quote
Old 04-04-2011, 10:35 PM   #5
Visuddhi
Member
Visuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheese
 
Posts: 20
Karma: 1204
Join Date: Jan 2011
Device: kindle 3
Quote:
Originally Posted by kovidgoyal View Post
open a ticket and attach a test case and I will take a look at it when I have the time.
This was from a few months ago, I'm having the same problem now,
Just wondering if the ticket was opened or need to open a ticket? (sorry I'm not able to access the calibre site from work to check myself)
Visuddhi is offline   Reply With Quote
Old 04-08-2011, 03:21 PM   #6
ccosner
Junior Member
ccosner began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2010
Device: All
Visuddhi,
I didn't open a ticket. It turns out that in the InDesign export to Digital Editions dialog, the setting "Bullets and Numbers-->Numbers: Convert to Text" solves the problem (for my purposes).
ccosner is offline   Reply With Quote
Old 04-15-2011, 02:38 AM   #7
Visuddhi
Member
Visuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheeseVisuddhi can extract oil from cheese
 
Posts: 20
Karma: 1204
Join Date: Jan 2011
Device: kindle 3
ok thank, it seems to be a bug though, i guess it would be the same for other links too.
Visuddhi is offline   Reply With Quote
Old 04-15-2011, 07:47 AM   #8
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Quote:
Originally Posted by Visuddhi View Post
ok thank, it seems to be a bug though, i guess it would be the same for other links too.
It most likely is a bug, but someone needs to open one and provide a reproducable test case:
https://bugs.launchpad.net/calibre

Note based on the original post this should only effect links in ordered lists, but it's possible there are related issues.
ldolse is offline   Reply With Quote
Reply

Tags
calibre, endnotes, kindle, mobi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Footnotes/Endnotes crutledge Sigil 17 07-17-2010 12:56 PM
Endnotes problem on 505 buecherhans Sony Reader 3 02-27-2010 07:02 AM
PRS-300 Ebooks with endnotes Aristée Sony Reader 9 11-11-2009 04:51 PM
'Unexpected Error' using endnotes, footnotes, etc Gideon Amazon Kindle 0 11-10-2009 12:59 AM
How do endnotes/footnotes work? JSWolf ePub 4 04-22-2009 06:54 PM


All times are GMT -4. The time now is 02:49 AM.


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