![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,658
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; } |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4236616
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
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@Frenzie,
Thank for for pointing to the code ![]() |
![]() |
![]() |
![]() |
#19 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> |
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,658
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
|
![]() |
![]() |
![]() |
#22 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,658
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" ![]() Last edited by Frenzie; 05-22-2022 at 09:53 AM. |
![]() |
![]() |
![]() |
#23 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4236616
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 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 11:15 AM. |
![]() |
![]() |
![]() |
#26 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,658
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Hooray!
![]() |
![]() |
![]() |
![]() |
#27 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 2296998
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 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
Last edited by Buhaj47; 08-04-2024 at 09:01 AM. Reason: Clarified what the issue is |
![]() |
![]() |
![]() |
#29 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 60
Karma: 5648
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 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |