![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,758
Karma: 730681
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; } |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,510
Karma: 5000046
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
![]() |
![]() |
![]() |
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,510
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@Frenzie,
Thank for for pointing to the code ![]() |
![]() |
![]() |
![]() |
#19 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 162
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
|
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> |
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,758
Karma: 730681
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.
|
![]() |
![]() |
![]() |
#21 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 162
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
|
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?
|
![]() |
![]() |
![]() |
#22 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,758
Karma: 730681
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" ![]() Last edited by Frenzie; 05-22-2022 at 09:53 AM. |
![]() |
![]() |
![]() |
#23 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 162
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
|
Thanks, how do I enable classic classname footnotes? I must have missed a guide on that.
|
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,510
Karma: 5000046
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
|
![]() |
![]() |
![]() |
#25 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 162
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
|
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 Buhaj; 05-29-2022 at 11:15 AM. |
![]() |
![]() |
![]() |
#26 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,758
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Hooray!
![]() |
![]() |
![]() |
![]() |
#27 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 843
Karma: 3335974
Join Date: Jan 2017
Location: Poland
Device: Various
|
@Buhaj47: I corrected the Polish translation of these two menu items, so it will be "classic".
|
![]() |
![]() |
![]() |
#28 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 162
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
|
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?
Last edited by Buhaj; 08-04-2024 at 09:01 AM. Reason: Clarified what the issue is |
![]() |
![]() |
![]() |
#29 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 33084
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 |
![]() |
![]() |
![]() |
#30 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 162
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
|
Can I set custom tweaks globally, for every book? Do I need to edit a file in the styletweaks folder?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
About footnotes | Milenski | Conversion | 5 | 03-09-2023 12:17 AM |
Footnotes one per page | Arkadian | Conversion | 7 | 04-20-2014 07:00 PM |
Footnotes | RafaelKing | Conversion | 1 | 05-19-2013 10:25 PM |
Footnotes | Adjust | ePub | 7 | 05-02-2013 07:33 PM |
Can I hide the footnotes page? | Jorge Junior | Sigil | 1 | 10-17-2012 07:44 PM |