09-13-2024, 11:15 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
Footnotes cut off at paragraph
Hey there!
I really like KOReader, but unfortunately it cuts off footnotes (displayed on the same page as the number) if there is a paragraph within the footnote. Is there anything I can do to alter that? Thanks in advance. |
09-13-2024, 11:59 AM | #2 |
Wizard
Posts: 1,356
Karma: 4753060
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Example please?
You can go to the footnote text itself (in the end of book), highlight text with a few footnotes, then tap “View HTML”. Please take a photo of that screen - it will show all CSS tags |
Advert | |
|
09-13-2024, 12:16 PM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
I should add that they are displayed correctly at the end of each chapter.
https://lh3.googleusercontent.com/pw...-no?authuser=0 They are cut off at the indentation: <p class="foot-ind"> Last edited by issybird; 09-14-2024 at 08:55 AM. Reason: Oversized image changed to link. Please read the guidelines about image size before posting again. |
09-13-2024, 02:07 PM | #4 |
Wizard
Posts: 1,356
Karma: 4753060
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
OK, I hope that’s an easy fix.
In a book, go top menu - second tab - Style Tweaks. Now, find the one that says something like “show footnotes in the page” (that makes it work after all) that target regular p.footnote. Now you need to make another css rule that has the same content but targets this new p.foot-ind. You can test this quickly by copying the whole output of the window from original style tweak, then going to second tab - style tweaks - book specific tweaks. Hit apply. After this you add a permanent fix in styletweaks folder with a new css file, which (after a restart of KOReader) you will be able to toggle in other books. |
09-13-2024, 07:04 PM | #5 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
That's smart!
I will try that tomorrow. |
Advert | |
|
09-14-2024, 08:35 AM | #6 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
https://lh3.googleusercontent.com/pw...-no?authuser=0
I am having trouble tweaking this tweak. I cannot find the .css file when I connect the reader to a pc. How do I go about that? Last edited by issybird; 09-14-2024 at 08:56 AM. Reason: Oversized image changed to link. Please read the guidelines about image size before posting again. |
09-14-2024, 12:13 PM | #7 |
Wizard
Posts: 1,356
Karma: 4753060
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Yep, that’s right. These are hidden.
Can you try copying it in this Window itself? If not, you just need these two lines applied to p.foot-ind. So just go in Book specific tweaks and type this by hand: p.foot-ind { -cr-hint: footnote-inpage; margin: 0 !important; } |
09-14-2024, 12:45 PM | #8 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
It did not work using a .css file with just this one line. Do I need to incorporate it with the original tweak? Unfortunately I am not fluent in css >.<
.footnote, .footnotes, .fn, .note, .note1, .note2, .note3, .ntb, .ntb-txt, .ntb-txt-j, .przypis, .przypis1, /* Polish footnotes*/ .voetnoten /* Dutch footnotes */ { -cr-hint: footnote-inpage; margin: 0 !important; } |
09-14-2024, 04:46 PM | #9 |
Wizard
Posts: 1,356
Karma: 4753060
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
“Book-specific settings” is not a separate css.
You tried this one? Or Style Tweaks? |
09-15-2024, 08:28 AM | #10 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
Tried booth now.
No luck :/ |
09-15-2024, 02:41 PM | #11 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
*both
|
09-15-2024, 04:11 PM | #12 |
Wizard
Posts: 1,356
Karma: 4753060
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Sorry, my suggestion didn’t work out then
You can create an Issue (Bug report) ticket on GitHub then! https://github.com/koreader/koreader/issues If you can, include the ebook there. Or if it is strictly copyright protected get it scrambled first: https://www.mobileread.com/forums/sh...d.php?t=267998 |
09-17-2024, 10:09 AM | #13 |
Wizard
Posts: 1,693
Karma: 730679
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
What does their HTML look like? It sounds like it's probably an issue that can't be worked around.
|
09-19-2024, 01:35 PM | #14 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
|
@frenzie You mean this:
I should add that they are displayed correctly at the end of each chapter. https://lh3.googleusercontent.com/pw...-no?authuser=0 They are cut off at the indentation: <p class="foot-ind"> ? |
09-19-2024, 01:49 PM | #15 |
Wizard
Posts: 1,693
Karma: 730679
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
The screenshot doesn't seem to be working. But what I meant above is that it sounds like this <p class="foot-ind"> is likely to be an entirely new block element that isn't part of the footnote.
|
Tags |
boox, bug, bug formatting, footnote, koreader |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I get inpage footnotes from footnotes that span multiple paragraphs? | strangelove42 | KOReader | 1 | 06-26-2023 04:37 PM |
Popup footnotes only shows first paragraph | Unno | Kindle Formats | 5 | 01-31-2023 02:17 PM |
Readwok - text reader for reading paragraph by paragraph. | wiscat | Self-Promotions by Authors and Publishers | 0 | 12-03-2021 03:32 PM |
Multi-paragraph Footnotes | rez9000 | Kindle Formats | 5 | 07-04-2020 05:23 PM |
Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 01:43 AM |