View Single Post
Old 07-06-2022, 09:28 PM   #12
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
Quote:
Originally Posted by DaveLessnau View Post
In terms of what was discussed here (on_page footnotes in a pop-up), it looks like I've got things working with <aside> (epub3 only).
Ahh, I was in the middle of typing my entire behemoth before you posted this.

Quote:
Originally Posted by DaveLessnau View Post
The problem is that the <aside> text is visible in the chapter. As noted before, for one or two short footnotes in a book, that's fine. But, this book has 58 chapters full of "footnote" material.

I can't find a way to hide that <aside> text (I tried "hidden" in various places in the code, but it didn't work). Does anyone know of a way to hide that? If not, I'll work on the <aside> material remaining in its own chapters.
Give it up.

It's not smart trying to hide footnotes via CSS like:

Code:
display: none;
or:

Code:
visibility: hidden;
This will cause lots of other bugs/headaches for you. See:

* * *

Side Note: A few weeks back, I did run across a DAISY webinar recommending to mark an endnotes file with linear="no", but that has issues as well:

See that topic for just one example.

Hint: Not much has changed since 2016.

There are a tiny bit more apps that support linear="no", like Thorium, but it's still a mess and will cause more problems than it "solves".

It would be "better" than messing with display/visibility though...

So this is how I would rank them:
  • My recommendation: Don't mess with display of footnotes/endnotes.
  • Moderate/Strong against: endnotes file with linear="no"
  • DO NOT ATTEMPT AT ALL: display: none; or visibility: hidden;

Quote:
Originally Posted by DaveLessnau View Post
EDIT 1: One site I found said the epub:type="footnote" bit should automatically hide the <aside> stuff. But, it doesn't. Another site said the "hidden" attribute can be used to hide it (i.e., <aside hidden ...), but it also doesn't.

EDIT 2: it looks like I tried testing the hidden attribute with a class= style applied. The class= overrode hidden. I'll play around with it some more.
Give it up. Trying to do this may "fix" it in some apps but completely break it in others.

This may only be possible if you are targeting a very specific app in a very specific app store. (Or if you are creating this ebook only for personal usage.)

If you're trying to put this EPUB up for sale across the actual stores, this won't work across devices/apps.

Side Note: And again, I will reiterate what I said in 2013...

What's the big deal of footnotes sitting at the end-of-chapter/bottom-of-files?

How the heck do you read physical books? Do you see the footnotes at the bottom of the page and fling the book out the window?

No, you just skim your eyes right over (or turn the page), or jump to the next chapter, and move on.

Last edited by Tex2002ans; 07-06-2022 at 11:13 PM.
Tex2002ans is offline   Reply With Quote