View Single Post
Old 10-26-2017, 09:58 AM   #11
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Tex2002ans View Post
What happens if the ID you are jumping to isn't in the same <p> as the one-way links?
Code:
<p id="boson"><b>boson</b></p>

<p>All elementary particles can be classified as either bosons or <a href="#fermion">fermions</a>
Tried that; the fermion link still becomes a footnote.
Same with divs. Presumably if I put enough stuff between the link and the body eventually it would fail the heuristic.

Quote:
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 Kindle you get many backs, haven't yet run into a limit.

This particular book uses some jargon, some real, some invented, and had a glossary at the back.
Kindle lets you select any text and search within the book, gives you a list of hit links and few lines of text. I found myself having to page to the end of the hits (some words used many times so several pages of hits) to remind me of the defn.

So I moved the glossary to the front so the glossary links were always the first search hits. Then I noticed there were "See" references in the glossary and coded them as links. Then went whole hog and coded less explicit cross refs; thus running into the issue at hand.

Works fairly well, even with the footnote glitch. Can live with that if the cost of breaking this auto-footnote thing is excessive complication of the code; at least for personal use.
AlanHK is offline   Reply With Quote