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 08-30-2021, 12:11 PM   #1
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
Question Why do some epub files not show in-page foonotes?

I like to use in-page footnotes option but it works with some files and not with some others even I check all 6 options. Does anyone know why and how to fix it (I can use basic function of Calibre)?
Thanks!

Here a example file with a lot of notes, click on them and go back slowing my reading speed like 10x and really annoying: https://www.mediafire.com/file/zw8ft...bled.epub/file

Last edited by xversion1; 08-31-2021 at 09:21 AM.
xversion1 is offline   Reply With Quote
Old 08-30-2021, 03:10 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,385
Karma: 17000149
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
That book is most likely copyrighted (although I didn't check whether the translation and notes are CC or something, I confess). You can scramble it if you'd like others to look at it. I think there's a calibre plugin for that.
Jellby is online now   Reply With Quote
Advert
Old 08-30-2021, 10:50 PM   #3
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
Quote:
Originally Posted by Jellby View Post
That book is most likely copyrighted (although I didn't check whether the translation and notes are CC or something, I confess). You can scramble it if you'd like others to look at it. I think there's a calibre plugin for that.
What do you mean by "scramble it"? Sorry, I don't familiar with the term.
xversion1 is offline   Reply With Quote
Old 08-31-2021, 04:33 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,385
Karma: 17000149
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Alter the text, but keep the format: https://www.mobileread.com/forums/sh...d.php?t=267998
Jellby is online now   Reply With Quote
Old 08-31-2021, 09:21 AM   #5
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
Quote:
Originally Posted by Jellby View Post
Alter the text, but keep the format: https://www.mobileread.com/forums/sh...d.php?t=267998
Here the scrambled file, hope it's OK : https://www.mediafire.com/file/zw8ft...bled.epub/file
xversion1 is offline   Reply With Quote
Advert
Old 09-02-2021, 05:57 AM   #6
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,340
Karma: 607626
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
It's not immediately clear to me why the .footnote class there isn't resulting in in-page footnotes, @poire-z should know. There are some limitations to the system when trying to do the best thing with what are effectively regular old links.

But there's a second footnote system in settings → taps & gestures → links → show footnotes in popups which does detect these.
Frenzie is offline   Reply With Quote
Old 09-02-2021, 06:39 AM   #7
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
Quote:
Originally Posted by Frenzie View Post
It's not immediately clear to me why the .footnote class there isn't resulting in in-page footnotes, @poire-z should know. There are some limitations to the system when trying to do the best thing with what are effectively regular old links.

But there's a second footnote system in settings → taps & gestures → links → show footnotes in popups which does detect these.
Thanks a lot! This new trick is much better. For months I wondered why Koreader doesn't show notes as Kindle does and struggled with it taking me to another page every time I want to see a note, took me while to setup a gesture to go back to previous page as quick as possible. Now I can see notes as using Kindle. Still it'll be best if notes appear as in-page footnotes, no touching needed.
xversion1 is offline   Reply With Quote
Old 09-02-2021, 09:27 AM   #8
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,340
Karma: 607626
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
In-depth answer here: https://www.mobileread.com/forums/sh...d.php?t=341500

Quote:
Still it'll be best if notes appear as in-page footnotes, no touching needed.
It's quite rare for me to come across one that doesn't work out of the box, let alone one that can't be massaged into it. Hopefully it'll be a case of first and only.
Frenzie is offline   Reply With Quote
Old 09-03-2021, 12:10 AM   #9
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
Quote:
Originally Posted by Frenzie View Post
In-depth answer here: https://www.mobileread.com/forums/sh...d.php?t=341500


It's quite rare for me to come across one that doesn't work out of the box, let alone one that can't be massaged into it. Hopefully it'll be a case of first and only.
I can't open your link. Click on it lead back to this thread.
xversion1 is offline   Reply With Quote
Old 09-03-2021, 04:20 AM   #10
hius07
Guru
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2800003
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
https://github.com/koreader/koreader...ment-911569190
hius07 is offline   Reply With Quote
Old 09-03-2021, 01:42 PM   #11
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,340
Karma: 607626
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Hasty copy-paste error, but already resolved.
Frenzie is offline   Reply With Quote
Old 09-04-2021, 01:41 AM   #12
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
Quote:
Originally Posted by hius07 View Post
So, as I understand, there's no way to fix this book?
xversion1 is offline   Reply With Quote
Old 09-04-2021, 08:04 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,340
Karma: 607626
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Not through styletweaks, but in principle you can fairly easily fix the book itself by fixing the IDs (for example with Sigil or just an archive application + text editor).
Frenzie is offline   Reply With Quote
Old 09-04-2021, 10:52 AM   #14
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
Quote:
Originally Posted by Frenzie View Post
Not through styletweaks, but in principle you can fairly easily fix the book itself by fixing the IDs (for example with Sigil or just an archive application + text editor).
Can you elaborate? I don't know coding but I have calibre and can follow guide blindly. I guess replace function could be used to fix all IDs at once somehow?
xversion1 is offline   Reply With Quote
Old 09-04-2021, 05:05 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,340
Karma: 607626
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
The links to footnotes look like this:
Code:
<a href="part0025.html#mah0002108" id="mah0004586" class="calibre5"><sup class="EBsup">1</sup></a>
The footnote looks like this:
Code:
<p id="mah0002107" class="footnotes"><a href="part0015.html#mah0004586" id="mah0002108" class="calibre5"><sup class="EBsup">1</sup></a><em class="calibre7">Rwywbbh</em> huive zh lof. Bcq ozllz md Upqdn coxcvk ewyd ks Oyoun ucl gicp pqsottdyv dy Zdyfxgp 32 (Vggsbg 5).</p>
It will show up as a footnote if you move that ID attribute from the A element over to its parent P element:
Code:
<p id="mah0002108" class="footnotes"><a href="part0015.html#mah0004586" class="calibre5"><sup class="EBsup">1</sup></a><em class="calibre7">Rwywbbh</em> huive zh lof. Bcq ozllz md Upqdn coxcvk ewyd ks Oyoun ucl gicp pqsottdyv dy Zdyfxgp 32 (Vggsbg 5).</p>
Unfortunately I'm not sure if there's an easy way to automate that, and there are hundreds of footnotes.

There's probably something available in Node for example that'd allow you to write out a new file after performing a transformation like this
Code:
const footnotes = document.getElementsByClassName('footnotes');
// for each footnote
footnote.setAttribute('id', footnote.firstChild.getAttribute('id'));
Or as a regular expression, something along the lines of:
Code:
<p id="([a-z0-9]*)" class="footnotes"><a href="[a-z0-9]*\.html#[a-z0-9]*" id="([a-z0-9]*)"
And then you have to replace the first group by the second group…

The second would probably be easier to do, but either way I'm not sure if there's a user-friendly way to do it. Suggestions on nice GUI apps welcome.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2021-09-04_21-56-13.png
Views:	58
Size:	394.5 KB
ID:	189107  

Last edited by Frenzie; 09-04-2021 at 05:22 PM.
Frenzie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
landscape set to show 2 pages but page turns still at 1 page at a time badbob001 Server 3 07-22-2020 04:01 PM
Kindle doesnt show other files in library (epub...) nivekkumar Kindle Developer's Corner 1 02-10-2020 01:46 PM
Show difference between ePUB files LGN Sigil 12 01-02-2014 11:32 AM
ePub conversion not adding page breaks on separate HTML files neonbible Conversion 1 11-06-2012 12:36 PM
Solution: Cropping Double Page PDF Files into One-Page PDF files kgydkgyd PDF 4 06-06-2011 12:45 PM


All times are GMT -4. The time now is 05:43 AM.


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