-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: pop-up footnotes #65
Comments
Interesting... will see. I wonder if that will work on e-ink devices ? |
With this changeset, dieterplex@333c7e25fb1a, Calibre ebook-viewer and iPhone Books works well. But it would jump to the position where the footnote lives in my Kindle Paperwhite when the epub book converted to mobi format by Calibre. I have a reMarkable device but it didn't support well to footnotes natively. |
Good timing - i've gotten my kindle Paperwhite back yesterday. I have tested it with The calibre reader doesn't care much as long as it sees an anchor with |
And as we're making changes: instead of putting the reference inside a |
This feature request seems viable, but randomly replacing strings provided by @juvilius Would you like to try this out from https://github.com/dieterplex/mdbook-epub/tree/footnote as you suggested? |
This works, amazing! Thank you, @dieterplex ! I've tried to understand the many changes, but rust code eludes me.. would it be possible to merge with the upstream or is that too complex? |
Agree, I don't like that also.
I did some changes in mdbook code to make possible using improved version of 'link preprocessor'. My component version is little more sophisticated especially on 'code examples' for epub. |
Agree with you, I don't like it either.
I reused pre-processor from mdbook in separate branch. That is a little more sophisticated version suitable for epub format. |
Here it's going to convert |
It is possible to show a pop-up instead of jumping to the note when clicking on footnotes 1 in the calibre reader and also on Kindles (Paperwhite & Oasis confirmed by me).
As far as I can tell this behaviour is due to the links containing two attributes like so:
<a class="noteref" epub:type="noteref" href=.....>1</a>
That is much more useful than jumping to, say, the end of the document.
So, in case it is simple to include those two attributes in footnotes, I would highly appreciate it.
They don't seem to bother other readers.
Footnotes
such as this ↩
The text was updated successfully, but these errors were encountered: