Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2024, 10:15 AM   #1
Trochi
Junior Member
Trochi began at the beginning.
 
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.
Trochi is offline   Reply With Quote
Old 09-13-2024, 10:59 AM   #2
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,248
Karma: 4738758
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
mergen3107 is online now   Reply With Quote
Old 09-13-2024, 11:16 AM   #3
Trochi
Junior Member
Trochi began at the beginning.
 
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 07:55 AM. Reason: Oversized image changed to link. Please read the guidelines about image size before posting again.
Trochi is offline   Reply With Quote
Old 09-13-2024, 01:07 PM   #4
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,248
Karma: 4738758
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.
mergen3107 is online now   Reply With Quote
Old 09-13-2024, 06:04 PM   #5
Trochi
Junior Member
Trochi began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
That's smart!
I will try that tomorrow.
Trochi is offline   Reply With Quote
Old 09-14-2024, 07:35 AM   #6
Trochi
Junior Member
Trochi began at the beginning.
 
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 07:56 AM. Reason: Oversized image changed to link. Please read the guidelines about image size before posting again.
Trochi is offline   Reply With Quote
Old 09-14-2024, 11:13 AM   #7
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,248
Karma: 4738758
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; }
mergen3107 is online now   Reply With Quote
Old 09-14-2024, 11:45 AM   #8
Trochi
Junior Member
Trochi began at the beginning.
 
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;
}
Trochi is offline   Reply With Quote
Old 09-14-2024, 03:46 PM   #9
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,248
Karma: 4738758
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?
mergen3107 is online now   Reply With Quote
Old 09-15-2024, 07:28 AM   #10
Trochi
Junior Member
Trochi began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
Tried booth now.
No luck :/
Trochi is offline   Reply With Quote
Old 09-15-2024, 01:41 PM   #11
Trochi
Junior Member
Trochi began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2024
Device: Boox C67ML Carta+
*both
Trochi is offline   Reply With Quote
Old 09-15-2024, 03:11 PM   #12
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,248
Karma: 4738758
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
mergen3107 is online now   Reply With Quote
Old 09-17-2024, 09:09 AM   #13
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,668
Karma: 730583
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.
Frenzie is offline   Reply With Quote
Old 09-19-2024, 12:35 PM   #14
Trochi
Junior Member
Trochi began at the beginning.
 
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">

?
Trochi is offline   Reply With Quote
Old 09-19-2024, 12:49 PM   #15
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,668
Karma: 730583
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.
Frenzie is offline   Reply With Quote
Reply

Tags
boox, bug, bug formatting, footnote, koreader

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 03:37 PM
Popup footnotes only shows first paragraph Unno Kindle Formats 5 01-31-2023 01:17 PM
Readwok - text reader for reading paragraph by paragraph. wiscat Self-Promotions by Authors and Publishers 0 12-03-2021 02:32 PM
Multi-paragraph Footnotes rez9000 Kindle Formats 5 07-04-2020 04:23 PM
Preference: Paragraph indent or a little paragraph spacing? 1611mac General Discussions 48 11-11-2011 12:43 AM


All times are GMT -4. The time now is 08:31 PM.


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