-
Notifications
You must be signed in to change notification settings - Fork 2
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
Exclude backlinks for notes in epub3-to-daisy202 conversion #18
Comments
How do you know this? Is this what your experience with DAISY 2.02 readers shows? |
This was an assumption based on how our native DAISY 2.02 files work. It is also along the lines we discussed earlier regarding skippability/footnote linking. Sample content file HTML:
Sample SMIL file:
|
@martinpub Forward links (from noteref to note) currently also have an <a epub:type="noteref" href="notes.xhtml#note_1">1</a> becomes: <a href="notes.html#note_1">
<span>
<a href="content.smil#noteref_1">1</a>
</span>
</a> If backlinks are a problem, aren't forward links a problem as well? |
Hi @bertfrees, Indeed, you are right, forward links will face a similar problem. Do you think this is related to MTM's implementation of DAISY 2.02? As you see in my example, the noterefs only have anchors with ids, not full links, in my sample content file. I guess testing will reveal what to do next. I will run another test with conversion. The difference between the forward link (noteref) text and the backlink text is we want the former to be narrated, not the latter. And the latter is artificially created for EPUB 3 navigation, whereas the former is a part of the original text. |
I have no idea what the appropriate way to do it is. It needs to be tested. But I guess both the forward and backward links are not needed, so if they are problematic I'll remove them.
Thinking about it now, I'm not sure if that makes sense. The way I was thinking to implement this is to just drop the noteref elements when moving the notes to the noteref position. Why exactly does the noteref need to be spoken? |
Thanks for your reply @bertfrees. The very pragmatic answer is: we need the output DAISY 2.02 not to be very different from what we currently have. New productions need to be aligned with those natively produced in DAISY 2.02. The narration of note references is important for the reader of the talking book to know what/which notereference is being followed. Since note texts should be skippable, the narration will announce a note reference even if the user has set up the reading system to not automatically follow notes. The reader will then know there was a note for that word/sentence. I can test more tomorrow, and see which variants would be acceptable in our local DAISY 2.02 validation, but I think we should get as close as possible as to what we currently have. |
Yes I figured :-) But as you can guess that is not quite a good enough reason for me. I mean of course I'm willing to follow existing conventions, but I'd also like to understand the reasoning behind them.
Is it? Is it relevant to know the number of the note?
But the same is true for e.g. sidebars, which have a similar function to notes. If a sidebar is skipped, how does the reader now something is skipped? I would think this is the responsibility of the reading system. |
Sure!
In a study setting, where a student reading our talking book next to sighted course mates reading the print copy, I would say yes. Notes have a referencing status which is important I think. |
href has been removed from noterefs (in upstream). Nothing special is done to doc-linkback yet. |
"doc-backlink" elements are now dropped (in upstream). |
Hi @kalaspuffar, can you verify whether this fork has merged this feature from upstream yet, or if it is not in the fork yet? If yes, I will test it . |
Thanks @bertfrees! |
@martinpub No, this has not been actually pushed to upstream yet, it's still local to my machine. Sorry for the confusion. |
OK. Let us know when it's up @bertfrees. |
because navigation to and from notes is handled through SMIL. see mtmse/pipeline#18
I have now committed it to daisy/pipeline-modules: daisy/pipeline-modules@3e3ad09. |
EPUB 3 footnotes/endnotes will contain backlinks, e.g.
<a href="#ref" role="doc-backlink">Go to the note reference.</a>
. Navigation to and from notes in DAISY 2.02 is handled by SMIL markup, so the backlinks will be redundant in a DAISY 2.02 setting.I suggest that backlinks, identified with
@role="doc-backlink"
, be omitted in the epub3-to-daisy202 conversion script.The text was updated successfully, but these errors were encountered: