Closed spajak closed 5 years ago
Hi @spajak!
Please check the section here on footnotes and endnotes: https://github.com/kobolabs/epub-spec#footnotesendnotes-are-fully-supported-across-kobo-platforms
I don't believe we're supporting epub:type="noteref" but I can run a test to double check that. If you change noteref
to footnote
or endnote
it should work.
I see. I was thinking noteref
is an anchor and foot(end)note
is the content of a note..
According to 3.2 spec:
noteref - a reference to a note, typically appearing as a superscripted number or symbol in the main body of text.
And only <span>
is allowed, and not <a>
?
No the element itself should not matter, that was just for the purposes of illustrating the example.
Can you retest the file on the device by changing the extension to [file].kepub.epub?
https://github.com/kobolabs/epub-spec#sideloading-for-testing-purposes
Yeap. foot(end)notes are working now. But other thinks are broken.. See #46
Can you please clarify: noteref
is generally not supported, but works on iOS devices (https://github.com/kobolabs/epub-spec/issues/8)?
The problem is that pandoc generates all epub3 files with noteref
references in the next.
@rriemann For all endnotes/footnotes? If you could provide an example we can test it, but otherwise the recommendation in the document still stands.
I would also advise even if something is supported on one platform, it's best to have a solution that's cross-platform.
OK for testing.
So I translated with pandoc the following text:
---
title: Test Title
author: Test Author
date: 22 June 2020
---
Here is some text. [^1] Here is again much more text with some extra footnote. [^2]
[^1]: Footnote 1
[^2]: Footnote 2
epub3: test-epub3.zip epub2: test-epub2.zip
pandoc 2.9.2.1 Compiled with pandoc-types 1.20, texmath 0.12.0.1, skylighting 0.8.3.2
On my Clara HD reader (latest soft), links to notes don't work:
I have a reference:
And a note in przypisy.xhtml:
Issue: Touching/clicking anchor link does nothing on my ereader.