![]() |
[Plugin] Easy Footnote Insertion
3 Attachment(s)
Plugin for easy insertion of epub 2.0 style footnotes.
The text for the notes must be at the place in the surrounding text, where the reference should be inserted, surrounded by ^[ ... ] - same way as Pandoc inline-notes. Read more and see some screen captures in the attached pdf. License: No formalized license as such - do whatever you like with my code, as long as you don't charge for it, and if you come up with any improvements, please share. --- What's new?
April 8. 2018: New version 0.2.1:
Future updates: Since I don't do epub version 2-books any more, this plugin will not be updated any further. Update 18. dec. 2019: From my (admittedly not very extensive) tests of this plugin with non-standard epubs and Sigil 1.0, it still works as advertised. Regards, Kim |
Hi Kim,
Wonderful. Thanks for contributing to Sigil via your plugin. I am tied up at work right now, but I will add plugin to the official Sigil Plugin Index thread when I get a free moment this weekend. If you have any technical questions about plugin development, please don't hesitate to ask in the main plugin thread. Thanks! KevinH |
Quote:
|
Did you really just make a pdf to document how to use an epub plugin? :D
|
Quote:
|
Quote:
Regards Kim |
Very nice plugin eLibrarian!
:thanks: |
Thanks, eLibrarian. This will be useful for some ePubs that I am writing.
|
@elibrarian
If the 2 ^[...] are near, the search find them as one I solve it changing the Code:
found = re.search(r'\^\[.*\]',html)Code:
found = re.search(r'\^\[.*?\]',html)I try to figure out why |
I've uploaded a new version to the first post of this thread. I think I've nailed the problem with deleting text too.
Regards, Kim |
Thanks Kim, works fine now
|
A really useful tool! Thank you so much!
I'd use it principally for OCRing of scientific texts. In the original text of those, there usually appear footnotes. As I understand it, to make the tool run, I need to "cut" the footnote text and place it next to the corresponding "body" text first, right? |
Quote:
Just try it on any epub - as long as it is on a copy and/or you don't save, no harm is done :) Regards, Kim |
Thank you, Kim,
the actual book I'm OCRing has some footnotes, so it's a good oportunity. |
Kim, I tested it, and I'm overwhelmed! Really amazing!
|
| All times are GMT -4. The time now is 06:22 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.