Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-31-2016, 10:54 AM   #16
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by kovidgoyal View Post
@bookman156: That happens because you have anchors *inside* the footnote that are pointed to by links in the main text. For example in footnote 9 you have <a id='page170'> Remove that and you will be fine.

The heuristic used to detect footnotes stops on anchors that are pointed to by other links in the text, on the theory that they could be the start of the next footnote. That said, I have changed the heuristic to only regard the anchor as a breaking point if it is not styled as an inline element.
Oh, I see, that's interesting. Those anchors are for links from the index and to aid citation to the printed work. But it doesn't explain why only some random italic text is made invisible but the rest of the footnote after the anchor still appears. Or why footnote numbers disappear on some footnotes with an anchor link (eg 23 in that chapter) but the rest of the footnote appears. So it's not actually stopping on those anchors in footnotes but rather making some random mischief in those footnotes.
bookman156 is offline   Reply With Quote
Old 03-31-2016, 10:58 AM   #17
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,384
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It explains it perfectly, if you want the details, read the source code. In short, stopping means all HTML tags after the stop point are hidden.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-31-2016, 11:12 AM   #18
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Ah yes, you're right. There is other missing italic that I hadn't even noticed and it starts just after the anchor, as you say.

Will the next version of Calibre fix this?
bookman156 is offline   Reply With Quote
Old 03-31-2016, 11:40 AM   #19
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,384
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes .
kovidgoyal is offline   Reply With Quote
Old 04-01-2016, 04:47 PM   #20
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
The new 2.54 works fine with these footnotes now. Thanks!
bookman156 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing spaces between words giwqnbha Calibre 2 10-18-2015 05:24 AM
Missing/incorrect words in fetched news Universe Man Calibre 5 06-17-2013 07:18 AM
Calibre 0.8.7: E-Book viewer is missing search field DrChiper Calibre 20 07-01-2011 09:51 AM
ePub fine in Calibre viewer, but on iPod extra spacing between words Amalthea Calibre 6 03-30-2011 11:58 AM
Functions missing in Calibre viewer? amannuc Calibre 3 04-10-2010 06:28 PM


All times are GMT -4. The time now is 10:32 PM.


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