Quote:
Originally Posted by Sella174
I think what AlanHK is trying to do is make it possible for the reader to quickly jump to the glossary and then back to the text.
|
I would recommend rereading the initial post + looking at the code samples themselves.
The issue is that there are multiple types of links:
- Type A: One-Way Link (these work as intended)
- boson -> Kozuch Theory
- fermion -> Kozuch Theory
- Type B: One-Way Links which happen to point to each other later on
- boson -> fermion
- fermion -> boson
- Type C: "Bidirectional" Links
- All the different types of "footnote code" you can come up with
Amazon's heuristics are just thinking the AlanHK's Type B is a very poorly coded Type C. So instead of jumping you to that point in the book, it tries to be "helpful" and treat it as a pop-up footnote instead.
Quote:
Originally Posted by AlanHK
Of course it's their fault: they create a footnote from my text because they imagine that's what I might be doing, not because I asked for one. Their guidelines have "Amazon requires formatting footnotes with bi-directional hyperlinks". Which is fine. But then the arrogant jerks make the reverse also true. I can see their motive to automagically enable older books with bidirectional footnotes to use popup footnotes. But they provide no way to override their assumption.
|
This would be a case where a properly coded EPUB3 with epub:type="footnote" would be able to tell the parser what you meant or didn't mean... but the thing is, the vast majority of books are/were coded like garbage and aren't marked up semantically (which is why Amazon created those footnote heuristics in the first place).
What happens if the ID you are jumping to isn't in the same <p> as the one-way links?
If you want the term on the same line, maybe you can try do some CSS float magic.
Or maybe the <dl> might tell the heuristics "this ain't no damn footnote".
In this case, you know that your glossary code is correct, and it is just the heuristics that are guessing poorly.
I would be interested to test the Amazon footnote heuristics to its limits, but I don't own a Kindle. There has to be
some distance and criteria where the algorithm says "nope, that's not a footnote".
Although I suspect a non-standard solution to try to get around the heuristics would be very hackish, and could break with a future firmware update.
Quote:
Originally Posted by Sella174
unless the Kindle has some dynamic bookmark method that can be set when going to the glossary, kind of like a finger at your place in the paper book.
|
This is a separate issue.
On your typical ereader, you may only get one/none "back". It is very easy to move forward, and go from:
fermion -> boson -> Kozuch Theory -> fiber bundle
But if you pressed back, you may go from fiber bundle -> Kozuch Theory. If you press back again, you would jump back to the device's Library/Home Screen.
On something like a browser, they typically allow you to stack tens/hundreds of "backs". So you would easily be able to jump back/forward from:
fermion <-> boson <-> Kozuch Theory <-> fiber bundle <-> [...]
Side Note: Hitch has also written extensively about a semi-related problem, "Many to One" links. It mostly comes up with Indexes, but it seems like it could be a serious issue in Glossaries as well.