08-07-2021, 06:11 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2021
Device: Kobo Forma
|
Foot- Endnotes are too small. [Editing epub/script request]
Does a script exist that replaces/enlarges the number/letter indicating the footnote to cover the whole word, meaning you can simply tap the entire thing and be taken to the appropriate page. I've done some research on scripts, similar threads and tried to do it manually but it seems too complicated, I haven't found clear instructions. Also doesn't seem like there's a feature in Calibre.
I wonder if anyone else has trouble actually tapping those little numbers. It's annoying to be taken to a different page instead of the footnote, I've got no issue tapping a word instead of in-between two lines. It feels like most people would prefer tapping an entire word. It also is something that could be done in script. Sorry if I posted this in the wrong place. |
08-08-2021, 07:46 AM | #2 |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
You would need to edit the ePub and adjust the tag <a> location.
Example: Change: <p>This paragraph has a footnote <a href=“notes.html#ref1”>1</a>.</p> To: <p>This paragraph has a <a href=“notes.html#ref1”>footnote 1</a>.</p> You can use a regex to do this fairly quickly. Last edited by Turtle91; 08-08-2021 at 07:48 AM. |
Advert | |
|
08-08-2021, 01:19 PM | #3 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
08-08-2021, 08:19 PM | #4 |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Beside the Turtle91's very good answer, you could supress <sup> tags if they were there.
For example, if you have something like: Code:
<p>This paragraph has a footnote <a href="notes.html#ref1"><sup>1</sup></a>.</p> Code:
<p>This paragraph has a footnote <a href="notes.html#ref1">1</a>.</p> Also you could adjust the font-size for the "a" element in your .css stylesheet. I.e.: Code:
a.note { font-size: 1em; /* or the size you want */ } Code:
<p>This paragraph has a footnote <a class="note" href="notes.html#ref1">1</a>.</p>
|
08-18-2021, 04:52 PM | #5 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I like doing it the way Hitch suggested. It works well.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
keeping small images small in an epub | krommenaas | Editor | 3 | 01-17-2021 04:17 AM |
footnotes (endnotes) font too small | mark_e_h | Conversion | 0 | 12-28-2013 12:40 AM |
602 Editing the PPP connection script ? | J.C. | PocketBook Developer's Corner | 0 | 03-06-2011 10:56 AM |
Request: Script wizard for automatic PDF formatting for K3 | guiyoforward | Amazon Kindle | 5 | 02-01-2011 09:33 PM |
Feature Request: Super and Sub Script | Rootman | Sigil | 1 | 12-03-2009 12:37 PM |