Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2026, 09:26 AM   #1
paskal
Member
paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.
 
paskal's Avatar
 
Posts: 18
Karma: 20160
Join Date: Nov 2026
Device: Kindle Paperwhite
[Filetype Plugin] Kindle Pop-up Footnotes

Kindle Pop-up Footnotes prepares recognised footnotes in EPUB and AZW3 books for pop-up display on a Kindle, instead of a jump to the notes at the end of the book.



What it does
  • Adds EPUB 3 footnote markup (noteref/footnote) to recognised footnotes; calibre's own conversion does not add it.
  • Reshapes recognised notes to start with their number as a link back, removing short trailing back links and headings that hold only the note number, as Amazon's Kindle Publishing Guidelines show.
  • Upgrades EPUB 2 books to EPUB 3 with calibre's own upgrade code.

It runs automatically when an EPUB or AZW3 is added to the library and after every conversion to EPUB or AZW3, including the conversion before sending a book to a Kindle. Books without footnotes are left untouched. For MOBI books, convert to AZW3. If you need MOBI output, first process an EPUB with the plugin, then convert it to MOBI with the file type set to 'both'.

Recognised footnote styles: two-way note links, notes written as definition lists (including calibre's conversion of Word documents), and calibre's conversion of FB2 books.

Requirements: calibre 7 or later; tested with calibre 9.19.

Installation: Preferences > Plugins > Load plugin from file, choose the attached zip, restart calibre.

Source, known limits and a command-line tool for books already in the library: https://github.com/paskal/calibre-kindle-footnotes

Version History
Spoiler:

1.0.0 (28 November 2026): first release.
Attached Thumbnails
Click image for larger version

Name:	kindle-popup-footnotes-screenshot.png
Views:	107
Size:	244.4 KB
ID:	227736   Click image for larger version

Name:	kindle-popup-footnotes-screenshot-resized.png
Views:	260
Size:	862.2 KB
ID:	227739  
Attached Files
File Type: zip kindle-popup-footnotes.zip (14.1 KB, 303 views)

Last edited by Comfy.n; 11-29-2026 at 11:01 AM. Reason: added resized image
paskal is online now   Reply With Quote
Old 11-29-2026, 09:27 AM   #2
paskal
Member
paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.
 
paskal's Avatar
 
Posts: 18
Karma: 20160
Join Date: Nov 2026
Device: Kindle Paperwhite
Reserved for test versions.
paskal is online now   Reply With Quote
Old 11-30-2026, 12:15 PM   #3
fogice
Evangelist
fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
fogice's Avatar
 
Posts: 419
Karma: 50000
Join Date: May 2014
Device: Kobo Libra 2 & Clara BW
I'm very excited for this extension. But it didn't work on the first book I tried.

The in-chapter reference looks like:
Quote:
<a href="footnote16.html" id="fnt-ch03-16-backlink"><sup class="calibre8">16</sup></a>
and the footnote itself, each in its own file, looks like:
Quote:
<div class="footnote" id="foot01">
<p class="footnote1" id="footnote1"><a href="chapter3.html#fnt-ch03-16-backlink"><sup class="calibre12">16</sup></a>*text of footnote</p>
</div>
Is there a way to correct these footnotes automatically, or is there something broken about the book I am editing?
fogice is offline   Reply With Quote
Old 11-30-2026, 06:41 PM   #4
paskal
Member
paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.
 
paskal's Avatar
 
Posts: 18
Karma: 20160
Join Date: Nov 2026
Device: Kindle Paperwhite
Thank you for the report and the markup. Version 1.0.0 did not recognise footnote references that link to a whole file, such as href="footnote16.html". That layout is valid, so your book is not at fault.

Version 1.0.1, attached to this post, supports it: such a link counts as a footnote when the file holds only that note and the note links back to the reference. Install it with Preferences > Plugins > Load plugin from file, then convert your book from EPUB to EPUB in calibre to run the plugin. Could you report whether it marks the notes?
Attached Files
File Type: zip kindle-popup-footnotes-1.0.1.zip (15.3 KB, 56 views)
paskal is online now   Reply With Quote
Old 11-30-2026, 07:00 PM   #5
fogice
Evangelist
fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
fogice's Avatar
 
Posts: 419
Karma: 50000
Join Date: May 2014
Device: Kobo Libra 2 & Clara BW
Yes! It worked perfectly. I am ecstatic.
fogice is offline   Reply With Quote
Old 11-30-2026, 11:46 PM   #6
paskal
Member
paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.
 
paskal's Avatar
 
Posts: 18
Karma: 20160
Join Date: Nov 2026
Device: Kindle Paperwhite
Version 1.1.0 (attached) recognises more ways of writing footnotes:
  • HTML saved from Word or LibreOffice, and older Project Gutenberg books, whose link targets are name anchors.
  • Footnotes with plain [1] references in short HTML documents converted by calibre. The table of contents calibre generates for them made every note look like a chapter.
  • Footnotes in pandoc's EPUB 3 output and other books where both the reference and the note are marked with epub:type or the DPUB-ARIA roles doc-noteref and doc-footnote, even without a link back.
Previously supported books produce the same output.
Attached Files
File Type: zip kindle-popup-footnotes-1.1.0.zip (16.2 KB, 62 views)
paskal is online now   Reply With Quote
Old 12-01-2026, 09:28 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,975
Karma: 154365289
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can you please update this plugin so it doesn't change ePub2 to ePub3?
JSWolf is online now   Reply With Quote
Old 12-01-2026, 11:33 AM   #8
fogice
Evangelist
fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
fogice's Avatar
 
Posts: 419
Karma: 50000
Join Date: May 2014
Device: Kobo Libra 2 & Clara BW
I tested the output of this plugin in Kobalt (the Kobo reader software replacement), and with KOReader on MacOS. Both displayed the "popup" footnotes properly at the bottom of each screen as inline footnotes.

Since this is not Kindle-restricted, I would suggest renaming this plugin, perhaps to epub-popup-footnotes? (Or epub3-popup-footnotes if you choose not to implement JSWolf's request.)
fogice is offline   Reply With Quote
Old 12-01-2026, 06:29 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,975
Karma: 154365289
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by fogice View Post
I tested the output of this plugin in Kobalt (the Kobo reader software replacement), and with KOReader on MacOS. Both displayed the "popup" footnotes properly at the bottom of each screen as inline footnotes.

Since this is not Kindle-restricted, I would suggest renaming this plugin, perhaps to epub-popup-footnotes? (Or epub3-popup-footnotes if you choose not to implement JSWolf's request.)
You can get popup footnotes with ePub2 with Kobalt/KOReader and I think KePub Kobo firmware 4.x.

But you do have to do the footnotes differently for ePub2 and ePub3. But for Kobalt/KOReader, the footnotes can be done the same for ePub2 and ePub3.
JSWolf is online now   Reply With Quote
Old 12-02-2026, 03:40 PM   #10
paskal
Member
paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.
 
paskal's Avatar
 
Posts: 18
Karma: 20160
Join Date: Nov 2026
Device: Kindle Paperwhite
JSWolf, fogice, thank you both. A 1.2.0 beta is attached for testing.

JSWolf: the plugin now leaves EPUB 2 books as EPUB 2 unless calibre's EPUB output version is set to 3 (Preferences, Output options, EPUB output, "EPUB version"). With the setting at 2, the plugin reshapes recognised notes in EPUB 2 books. It adds noteref and footnote markup to EPUB 3 books with either setting.

fogice: since your test showed it is not Kindle-only, the plugin is renamed to Pop-up Footnotes. calibre sees it as a new plugin, so please remove Kindle Pop-up Footnotes before installing the beta, or both will run.

Here’s how the test books displayed on each reader:
  • Kindle Paperwhite: AZW3, and MOBI with file type "both", converted from either the EPUB 2 or the EPUB 3 output opened the footnote panel with the tapped note; MOBI 6 from either output opened it in a centred pop-up.
  • Apple Books on a Mac and an iPhone: the EPUB 3 output opened the note on its own; the EPUB 2 output jumped to the notes page.
  • KOReader 2026.07.1 on Linux: the EPUB 3 output showed the note at the foot of the page with default settings.
So for Apple Books if you want pop-ups, set the EPUB version to 3, convert the book to EPUB again and transfer the new copy.

If you try the beta, please tell me how footnotes in EPUB 2 books show on your reader (pop-up, in-page or plain link), and which reader it is.
Attached Files
File Type: zip popup-footnotes-1.2.0-beta2.zip (17.2 KB, 6 views)
paskal is online now   Reply With Quote
Old Yesterday, 12:33 PM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,975
Karma: 154365289
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I'll give it a try. Given it works in KOReader, it should work in Kobalt.
JSWolf is online now   Reply With Quote
Old Yesterday, 03:41 PM   #12
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,107
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
@paskal, thanks for the 1.2.0 beta2.

Sorry for going off-topic: A small request to anyone reading: does someone have an EPUB where one footnote is cited from several places in the text, and the note has more than one back link (e.g. “↩ ↩” or “1a, 1b”, one per citation)? I’d like to see how publishers actually mark it up. A scrambled copy is fine (calibre’s Scramble or Sigil’s Borkify) – only the structure matters.

Thanks!
BeckyEbook is offline   Reply With Quote
Old Today, 04:17 AM   #13
paskal
Member
paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.paskal can self-interpret dreams as they happen.
 
paskal's Avatar
 
Posts: 18
Karma: 20160
Join Date: Nov 2026
Device: Kindle Paperwhite
A 1.2.0 beta3 is attached. It fixes problems found by running the plugin over 91 EPUBs posted in this forum.

Thank you, WiseGuru, for sharing your collection of 71 scrambled EPUBs, and JSWolf for the Discworld book with one file per footnote. Buhaj, pvtSMR and fourcrosses, thank you for the scrambled books you shared while troubleshooting footnotes. Thank you to jeff47, Krytes, jackie_w, fxp33, enuddleyarbl and Doitsu for the test books and Kobo examples. Thank you also to Karellen for showing how you place notes just after the paragraph that cites them, and to BeckyEbook for starting the thread that brought these examples together.

The fixes:
  • Earlier versions, 1.2.0 beta2 included, could mark ordinary paragraphs of the main text as footnotes in some books, for example 45 paragraphs in The Mueller Report, and some readers then hide them. Beta3 leaves them alone. If a book was processed by an earlier version, convert it again from the original file.
  • Notes with several paragraphs, and notes that used to open showing only their number, now open in full in Foliate.
  • Some notes lost their later paragraphs or were not recognised at all. In WiseGuru's books, beta3 recognises 6,752 of 6,757 references, up from 5,472.
I have checked the Kindle (AZW3) and Kobo (KEPUB) output files, but have not yet retested beta3 on a Paperwhite or in Apple Books.

I still don't have ability to edit initial post in this thread, I'll ask Comfy.n to edit it and publish new version under new name once some test results from y'all are in.
Attached Files
File Type: zip popup-footnotes-1.2.0-beta3.zip (21.3 KB, 5 views)
paskal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FileType Plugin] ACSM input plugin Leseratte_10 Plugins 847 Yesterday 01:31 PM
[FileType Plugin] LCPL Input Plugin Leseratte_10 Plugins 4 10-30-2026 06:17 PM
[FileType Plugin] YVES Bible Plugin ClashTheBunny Plugins 27 01-16-2023 02:25 AM
Pop-up footnotes Leonatus Kobo Reader 41 01-13-2017 08:06 PM


All times are GMT -4. The time now is 04:36 PM.


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