Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-16-2022, 05:02 AM   #16
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Indeed, we even say so in the comments.

This specific one could probably be more generically written as follows:
Code:
.fn-ref a
{
    -cr-hint: footnote-inpage;
    margin: 0 !important;
}
I don't think that's some kind of calibre standard though, is it?
Frenzie is offline   Reply With Quote
Old 05-16-2022, 04:33 PM   #17
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,342
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
I guess this is not calibre-designed / intended. I noticed calibre just takes all the proprietary classes and labels them calibre1, calibre2, etc sometimes. And it might get complicated if there were multiple such conversions before the suer finally finds the book
mergen3107 is offline   Reply With Quote
Old 05-16-2022, 04:35 PM   #18
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,342
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@Frenzie,
Thank for for pointing to the code it is interesting to see so many different types of notes/footnotes.
mergen3107 is offline   Reply With Quote
Old 05-22-2022, 05:14 AM   #19
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
Sorry, I am not sure if I follow - are you saying Calibre conversion makes it so that footnotes are not visible on the same page? Anyway, I uploaded a book with no conversion (attached), and footnotes are not showing on the same page either - but the html code is different too:

Code:
<sup><a id="przypis6_1" href="footnotes_39.xhtml#opis_przypisu6_1">[1]</a></sup>
Attached Files
File Type: epub Book2_scrambled.epub (2.36 MB, 278 views)
Buhaj47 is offline   Reply With Quote
Old 05-22-2022, 07:29 AM   #20
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Possibly usable with [id^=przypis] (starts with), but I doubt that's anything we'd want to cover by default.
Frenzie is offline   Reply With Quote
Old 05-22-2022, 07:46 AM   #21
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
That is no problem, I am still more interested in the books I had mentioned earlier, here and here. I reloaded the file from post 4 and footnotes are not displaying at the bottom of the page - for both cases, is it a matter of adding .przypis, przypis1, .fn-ref to a specific styletweak, and could it be done in the next build? Or is Calibre conversion breaking the view?
Buhaj47 is offline   Reply With Quote
Old 05-22-2022, 10:50 AM   #22
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I forgot to add .przypis? I guess I forgot about it over Christmas. I'll do that one now. [Edit: no, I added that! Heh. But note that you have to explicitly enable classic classname footnotes in style tweaks iirc because they're not quite "proper".]

The .fn-ref not quite, note that I wrote ".fn-ref a" (But untested.)

Last edited by Frenzie; 05-22-2022 at 10:53 AM.
Frenzie is offline   Reply With Quote
Old 05-23-2022, 06:15 PM   #23
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
Thanks, how do I enable classic classname footnotes? I must have missed a guide on that.
Buhaj47 is offline   Reply With Quote
Old 05-24-2022, 01:03 AM   #24
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,342
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Top Menu - (second or third tab, don't remember) - Style Tweaks - then in some of these menus there is something related to footnotes in epub and fb2, including classic options
mergen3107 is offline   Reply With Quote
Old 05-29-2022, 12:05 PM   #25
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
I think i have these options active, unless there are some others, but in-page footnotes are not displaying.

EDIT: just looked at the English version and noticed classic classnames were disabled, activated them and it works! The Polish language version uses "proper" instead of "classic", did not know what these were lol.

Last edited by Buhaj47; 05-29-2022 at 12:15 PM.
Buhaj47 is offline   Reply With Quote
Old 05-29-2022, 05:39 PM   #26
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Hooray!
Frenzie is offline   Reply With Quote
Old 06-06-2022, 04:34 PM   #27
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
@Buhaj47: I corrected the Polish translation of these two menu items, so it will be "classic".
BeckyEbook is offline   Reply With Quote
Old 08-04-2024, 09:57 AM   #28
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
I've hit a similar issue again - footnotes are not showing at the bottom of the page by default, instead I am getting a popup only after clicking on a footnote link. Attached are books where I have the issue, along with the current settings - can anyone please have a look to see why this is the case?
Attached Thumbnails
Click image for larger version

Name:	Reader_2024-08-04_144534.png
Views:	41
Size:	110.8 KB
ID:	209956   Click image for larger version

Name:	Reader_2024-08-04_144347.png
Views:	39
Size:	99.7 KB
ID:	209957  
Attached Files
File Type: epub Upadek wielkich imperiow - Patrice Gueniffey_scrambled.epub (2.75 MB, 23 views)
File Type: epub Wszyscy tak jezdza - Bartosz Jozefiak_scrambled.epub (708.9 KB, 18 views)

Last edited by Buhaj47; 08-04-2024 at 10:01 AM. Reason: Clarified what the issue is
Buhaj47 is offline   Reply With Quote
Old 08-04-2024, 03:17 PM   #29
jonnyl
Connoisseur
jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.
 
Posts: 70
Karma: 9464
Join Date: Jan 2021
Device: Likebook Mars
The books use non-standard classnames for the footnotes. In these cases you need to view the HTML of the footnotes and manually add a book-specific style-tweak (last menu item) to give KOReader a hint.

In the first book (Upadek...), that book-specific style tweak is:

p.bodyfootnote { -cr-hint: footnote-inpage; }

On the second book, it's:

div.endnote { -cr-hint: footnote-inpage; }

More information here:

https://github.com/koreader/koreader...ent-1913228054
jonnyl is offline   Reply With Quote
Old 08-04-2024, 04:42 PM   #30
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
Can I set custom tweaks globally, for every book? Do I need to edit a file in the styletweaks folder?
Buhaj47 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About footnotes Milenski Conversion 5 03-09-2023 01:17 AM
Footnotes one per page Arkadian Conversion 7 04-20-2014 08:00 PM
Footnotes RafaelKing Conversion 1 05-19-2013 11:25 PM
Footnotes Adjust ePub 7 05-02-2013 08:33 PM
Can I hide the footnotes page? Jorge Junior Sigil 1 10-17-2012 08:44 PM


All times are GMT -4. The time now is 03:35 PM.


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