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?
- 0.2.0: Plugin can be run on epubs with existing notes.
- 0.2.0: If it finds any notes (in a known format), it will try to determine the highest reference number and continue from there, or the user can choose a higher number to start from. (E. g. if highest found is 59, then it might be convenient to start new numbers at 100, then the new notes wil be easy to find with a regex like \d\d\d or \d{3})
- 0.2.0: If a footnote.css stylesheet file exists in the epub, it will not be overwritten, but user will get a warning to check the format of any newly inserted notes.
- 0.2.0: Plugin autostarts.
April 8. 2018: New version 0.2.1:
- 0.2.1: Now doesn't insert multiple instances of the css-reference (thanks to BeckyEbook)
- 0.2.1: Updated intro/userguide.
December 20. 2023: New version 0.2.2:
- 0.2.2: Corrected an error regarding "/"s in notes and now provide an icon. All thanks go to BeckyEbook!
Future updates: Since I don't do epub version 2-books any more, this plugin will not be updated any further. (But anyone who wants to can manipulate the code and share alternate versions
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