View Single Post
Old 11-25-2022, 01:43 AM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
In your ebook example, they're using footnote code in the text like this:

Code:
<p>[...] una volta all’anno per il Seder<a href="../Text/footnotes.xhtml#footnote-0004"><sup>4</sup></a><a id="fnreturn-0004"></a>. [...]</p>
And this is the footnotes.xhtml:

Code:
  <div class="footnote" id="footnote-0004">
    4) 
    <p><em>Seder</em>: cena rituale legata della Pasqua ebraica (in cui si bevono vari bicchieri di vino, in seguito alle benedizioni).&nbsp; <a href="../Text/content0041.xhtml#fnreturn-0004"> <strong>↵</strong></a></p>
  </div>
Not the cleanest code (or best way to do footnotes), but I don't see anything broken here. It should jump you to the proper locations back/forth.

- - -

Side Note: I'd recommend reading through my posts in:

It's better to KISS (Keep It Simple, Stupid). The simpler the code, the more likely it is to work across all readers without a problem.

- - -

For example...

Your Chapter01.xhtml:

Code:
<p>This is an example.<a href="../Text/Endnotes.xhtml#fn1" id="ft1">[1]</a></p>
Your Endnotes.xhtml:

Code:
<p class="footnote"><a href="../Text/Chapter01.xhtml#ft1" id="fn1">[1]</a> An example footnote.</p>
Simple <a> goes one way, simple <a> goes back the other way. Bing, bang, boom, it works everywhere!

- - -

Complete Side Note: You may also want to take a look closely at your EPUB Metadata... there is a whole bunch of gibberish in there, like Hebrew in your "source":
  • שלושה סיפורי אהבה

Last edited by Tex2002ans; 11-25-2022 at 02:01 AM.
Tex2002ans is offline   Reply With Quote