05-07-2024, 02:43 AM | #1 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
How to convert end-notes to foot-notes
Hi all
Do you know a rather simple way to convert endnotes to footnotes ? I have an epub with several hundred of notes, all grouped in one html file. When I read that book on Kindle or Kobo, accessing to notes is very slow, probably because all notes are in a single file. So I would like to move notes at the end of chapters. Any idea ? TIA |
05-07-2024, 03:01 AM | #2 | |
null operator (he/him)
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
05-07-2024, 04:08 AM | #3 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Why do you need them to be at the end of the chapters? You can split each note into its own file and keep them at end of the book. I've seen this in a number of books. To do this:
If you need help with the regex, you can post a sample of an endnote here. |
05-07-2024, 09:25 PM | #4 |
Bibliophagist
Posts: 40,579
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The last ebook I edited which had multiple footnotes in one file, I ending up splitting the file into 5 chunks with ~50 footnotes in each to reduce the size of the individual files without giving each footnote it's individual file.
Since I did this as a manual process, I opened the original file, divided the line count by 5, went to the 80% mark, pasted a Sigil split marker ( <hr class="sigilChapterBreak" /> ), went to 60%, 40% and 20% and repeated the paste. I then did hit f6 to do a split on markers and it was done. The only issue I ran into was that while this looked good with pop-up footnotes, for non-pop-up footnotes, I ended up copying 6 or 7 footnotes so they were 1-to-1 and not the original many-to-1. |
05-08-2024, 04:58 PM | #5 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Tank you for your quick answers.
I hadn't thought of splitting up the very large endnotes file. So that's what I did, then replaced the fragments at the end of the relevant files. And Calibre recalculated the links all by itself. It's magical. Thanks again |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub3 Foot- End-notes | roger64 | ePub | 72 | 07-31-2021 12:21 PM |
Displaying end/foot notes in ePub | FlorenceArt | Apple Devices | 0 | 12-10-2015 08:31 AM |
Asterisk (link to foot notes) almost invisible | HansTWN | Kobo Reader | 1 | 08-15-2013 05:36 AM |
How to skip foot notes: normal flow | theducks | ePub | 7 | 11-27-2012 12:00 PM |
Multiple foot notes with same id | Ti-Ron | ePub | 2 | 10-04-2012 08:27 PM |