View Single Post
Old 08-29-2019, 02:37 PM   #39
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 KevinH View Post
You re replying to a comment made in 2016. I had to re-read the entire thread to see what if anything you were referring to.

[...]

What brought this topic back up?
Exactly...

Quote:
Originally Posted by jackie_w View Post
Before you put a lot of effort into coding them this way I'd be inclined to double-check whether splitting the id="..." and href="..." attributes across 2 different tags messes up some devices' ability to display footnotes as pop-ups. A simple first test would be to see whether the calibre Viewer pops them up properly.
Exactly. Doing it that convoluted way will probably break the footnote heuristics in many of these readers.

Quote:
Originally Posted by lumpynose View Post
In my next batch of books, the first with footnotes, I've decided to use end notes and put them at the end of the chapter / xhtml file. In the body of the text I'm using

Code:
<a id="backref1" href="#ref1">[Footnote 1]</a>
[...]

Again, an easy to tap link for returning. Perhaps crude and inelegant but it's easy to tap.

Criticisms, thoughts?
Big mistake on nearly all fronts.

1. "[Footnote 1]" is unnecessarily long. It would make heavily annotated text nearly unreadable, and would also break across lines.

To make it easier to click, you already unsuperscript it + add a little buffer with brackets: [1]. That's enough to help readability without being too intrusive, and still helping fat fingers.

2. Relying on <ol> for auto-numbering is also bad, and it can't be relied upon across readers, especially when generating complicated numbering schemes ("d.1") or multiple sets of footnotes (Numbered + Greek + Symbols).

Heck, many of the ereaders have bugs starting <ol> with a number higher than 1!

Quote:
Originally Posted by lumpynose View Post
Pop ups seemed more fragile so I decided to go with end notes. The [Note 1] jumps to the end note, then that end note has a (Return to previous place.) to go back.
If you just KISS, the built-in popup functionality of readers will work. There's no need to try to recreate the wheel with some complicated convoluted code.

Either use the EPUB3 footnotes specified in Doitsu's Post #4... or use normal, simple EPUB2 code.

I won't go into further detail on Footnotes, I've written extensively on all the pros/cons and concepts behind all different types.

Here's just two of the topics:

See my discussion on Footnotes in "A link to jump back to the original start point?" (especially Posts #8+).

For a much larger overview of all kinds of book digitization problems that may crop up, see my posts in "Delicate text digitalizing + scanning issues".

For even more info: See this link.

Last edited by Tex2002ans; 08-29-2019 at 02:43 PM.
Tex2002ans is offline   Reply With Quote