Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2020, 02:14 AM   #1
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
[Viewer] Footnote not popping up if pointer having no class

Dear Kovid,

Today I encountered a footnote case: the footnote pops up alright in Reasily (Android) and Marvin (iOS) but not in Calibre Viewer. I did some comparison and found out that the reason why, I assume, is that the footnote pointer has no class. I manually added a class to the link and to css file, and it works. Please note that if the class selecor is blank or unavailable in css file, it doesn't pop up either.

I use now a modified test file prepared by Doistu @ MR as an example. This test file doesn't work (footnote not popping up) because the .footnote is blank.

Edit: I think the css selector must contain vertical-align property to make it work.

Regards.

K
Attached Files
File Type: epub ePub3 footnote tests - Doitsu.epub (28.6 KB, 64 views)

Last edited by nqk; 02-20-2020 at 02:25 AM.
nqk is offline   Reply With Quote
Old 02-20-2020, 03:31 AM   #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,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...4c3ad386ffec15
kovidgoyal is online now   Reply With Quote
Advert
Old 02-20-2020, 05:02 AM   #3
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
That was lightning quick. Thank you, Kovid.
nqk is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre footnote viewer missing out words bookman156 Calibre 19 04-01-2016 04:47 PM
Touchscreen Pointer? knc1 Kindle Developer's Corner 0 12-03-2015 08:09 AM
Aura H2O MicroSDHC card class 4 or class 10? chipro12 Kobo Reader 5 07-04-2015 02:24 AM
Suggestion - reading pointer jkwon Calibre 1 03-01-2015 12:05 AM
Popping in and saying hi PsychoHoseBeast Introduce Yourself 7 01-25-2011 06:51 AM


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


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