If you go to <https://prino.neocities.org/www/Anhalterwesen_und_Anhaltergefahren.html#fr01>
and click on the "1)" link you will go to the
footnote-converted-to-endnote, and from there the "up-arrow" takes you
back, and back means just the line containing the "1)", for me showing
just "begreift.1)"
What is your opinion about changing the refer-back link to the start of
the paragraph containing the actual link to the foot-/endnote. For me it would seem a bit more logical, on paper both would be on the same page,
so the original context would be in view.
Robert Prins wrote:
If you go to
<https://prino.neocities.org/www/Anhalterwesen_und_Anhaltergefahren.html#fr01>
and click on the "1)" link you will go to the footnote-converted-to-endnote, >> and from there the "up-arrow" takes you back, and back means just the line >> containing the "1)", for me showing just "begreift.1)"
This corresponds to endnote linking in Wikipedia, except that here the backward
link symbol (arrow) is small and difficult to notice. I’d suggest a symbol that
is at least as visible as in Wikipedia.
What is your opinion about changing the refer-back link to the start of the >> paragraph containing the actual link to the foot-/endnote. For me it would >> seem a bit more logical, on paper both would be on the same page, so the
original context would be in view.
That would indeed be often more useful. However, the Wikipedia structure has a
point, too, especially in contexts where we, and still less a program creating
the links automatically, cannot know the exact scope of text to be referred to.
A footnote reference may relate to a single word, or a clause, or a sentence, or
a few sentences, or even an entire paragraph.
In any case, I would not link to the start of a paragraph, or some other piece
of text, but to an entire element, such as a <p> element, which would need to have an id attribute. (This might even make it possible to highlight it dynamically after “jumping back” to it.
In the case of the material you are dealing with, I don’t think one could reliably infer the intentions of its authors for each footnote reference. The only solid thing here is the footnote reference itself; it is up to the reader
(of the original document, or of any digital version) to deduce or guess what is
the piece of the document that the footnote relates to.
On 2021-02-08 13:37, Jukka K. Korpela wrote:[...]
In any case, I would not link to the start of a paragraph, or some
other piece of text, but to an entire element, such as a <p> element,
which would need to have an id attribute. (This might even make it
possible to highlight it dynamically after “jumping back” to it.
How would you do that?
On
Mon, 8 Feb 2021 15:20:40 -0000 (UTC)
Robert Prins wrote:
On 2021-02-08 13:37, Jukka K. Korpela wrote:[...]
In any case, I would not link to the start of a paragraph, or some other
piece of text, but to an entire element, such as a <p> element, which would
need to have an id attribute. (This might even make it possible to highlight
it dynamically after “jumping back” to it.
How would you do that?
Using the :target pseudo-class. At the simplest, you could use it to highlight
the destination of any link after the link has been followed, e.g.
:target {
background: yellow;
outline: solid thin red;
}
(using rather strong highlighting here, for clarity); demo: http://jkorpela.fi/test/target.html
However, if you use such code with a document with undisciplined use of markup for targets, you may get odd, disturbing, and even misleading highlighting. For example, old documents may use <a name=foo></a> with empty content, or something like <p><a name=bar>This</a> is something...</p> even when the entire paragraph is what is really linked to, as opposite to its first word. To avoid this, you might wish to use a more specific selector than just :target.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 366 |
Nodes: | 16 (2 / 14) |
Uptime: | 11:52:31 |
Calls: | 7,819 |
Calls today: | 2 |
Files: | 12,927 |
Messages: | 5,767,654 |