![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
|
![]()
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 08:21 AM. |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
|
What do you mean by "scramble it"? Sorry, I don't familiar with the term.
|
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
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
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
|
Quote:
![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,742
Karma: 730681
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. |
![]() |
![]() |
![]() |
#7 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,742
Karma: 730681
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:
![]() |
|
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,160
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,742
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Hasty copy-paste error, but already resolved.
|
![]() |
![]() |
![]() |
#12 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,742
Karma: 730681
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).
|
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
|
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?
|
![]() |
![]() |
![]() |
#15 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,742
Karma: 730681
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> 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> 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> 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')); Code:
<p id="([a-z0-9]*)" class="footnotes"><a href="[a-z0-9]*\.html#[a-z0-9]*" id="([a-z0-9]*)" 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. ![]() Last edited by Frenzie; 09-04-2021 at 04:22 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 03:01 PM |
Kindle doesnt show other files in library (epub...) | nivekkumar | Kindle Developer's Corner | 1 | 02-10-2020 12:46 PM |
Show difference between ePUB files | LGN | Sigil | 12 | 01-02-2014 10:32 AM |
ePub conversion not adding page breaks on separate HTML files | neonbible | Conversion | 1 | 11-06-2012 11:36 AM |
Solution: Cropping Double Page PDF Files into One-Page PDF files | kgydkgyd | 4 | 06-06-2011 11:45 AM |