Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2022, 02:02 AM   #1
1v4n0
Groupie
1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.
 
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
Internal link not working with Moon+

I know that the Moon+ app is a bit finicky and often has problems with the way it renders epub files, but still I'm curious, because this is the first time I have this issue.

When I click on the numbers to open a footnote, Moon+ brings me to the top of the footnotes.xhtml file, but not to the specific <div> where that note is. Also the backlinks don't seem to work. This only happens in M+ (as opposed to Lithium on mobile, and calibre and sigil on desktop), and only with this book, even though I'm quite sure I created it the same way as always.
Any ideas?


File is attached, thank you as usual.
Attached Files
File Type: epub ani.epub (780.2 KB, 72 views)
1v4n0 is offline   Reply With Quote
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,297
Karma: 12126329
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
Advert
Old 11-25-2022, 03:16 AM   #3
1v4n0
Groupie
1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.
 
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
Thank you. Yes, I know the code is just slightly bloated, but it had never given me any problem until now. I'm quite sure the fault is in Moon+. I couldn't find any other solution than merging the last file in the book with the one with the footnotes. I have no idea why that's the case.
1v4n0 is offline   Reply With Quote
Old 11-25-2022, 04:22 AM   #4
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,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by 1v4n0 View Post
I'm quite sure the fault is in Moon+.
Seems like it.

Any specific reason why you're using Moon+ over the alternatives?

Quote:
Originally Posted by 1v4n0 View Post
I couldn't find any other solution than merging the last file in the book with the one with the footnotes. I have no idea why that's the case.
And merging the file then made it hop to the right footnote/location?

- - -

Have you also run your book through epubcheck?

It looks like you have broken code:

Code:
<p><span id="img_graphics1"><img id="graphics1" style=" 4.82em;" src="../Images/graphics1.jpg" alt="graphics1"/></span></p>
Maybe that's making Moon+ act weird too?

(Like ADE throwing out all CSS if there's the tiniest of errors in it.)
Tex2002ans is offline   Reply With Quote
Old 11-25-2022, 04:28 AM   #5
1v4n0
Groupie
1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.
 
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
Quote:
Originally Posted by Tex2002ans View Post
Seems like it.

Any specific reason why you're using Moon+ over the alternatives?
It's just a convenient app for reading. It has a decent interface and I like the blue-light filter.
Quote:
Originally Posted by Tex2002ans View Post
And merging the file then made it hop to the right footnote/location?
Yes. And it also makes the note appear in a pop-up preview (as they usually do)
- - -

Quote:
Originally Posted by Tex2002ans View Post

It looks like you have broken code:
Tried, but that was not it.
1v4n0 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil Problem with internal Image or Stylesheet Link qkiazd Sigil 10 02-14-2020 07:39 AM
XHTML internal link checker elipsett General Discussions 6 12-11-2019 09:17 PM
Internal links not working after conversion Arkadian Conversion 9 03-09-2014 08:37 AM
Internal links not working after Packaging (copying) indb file MHC ePub 6 03-09-2013 01:50 PM
How to link file manager to Android/Moon +? michaelbr Android Devices 1 12-25-2012 10:00 PM


All times are GMT -4. The time now is 03:21 PM.


MobileRead.com is a privately owned, operated and funded community.