On Wed, 21 Jan 2004, Michael Nordstrom wrote:
> I don't understand why this should be necessary; you can already go to the
> "exact" position (if the parser creates a new paragraph when it encounters
> an "a name" tag in the text).
If the "a name" tag is in the middle of a paragraph without a linebreak
beside it then doing this would trigger an unnecessary linebreak.
One kind of case where this comes up is a fairly standard way of rendering
footnotes and other references in HTML etexts. Within the body of the
text where the footnote is referred to, one has something like <a
href="#footnote12">[12]</a><a name="refto12">, and then the footnote
itself is at the end of the page, or on a separate page, and contains a
link like <a href="#refto12">Go back to text.</a> The current way of
doing things means that the link back to #refto12 doesn't actually come
back to the right place in the text, but to the beginning of the
paragraph. If the paragraph is more than one screen long, this is a
nuisance. Of course one can always use the back control, but if the
document actually has a link to go back to the text, it should go back to
the text.
A similar issue could come up with an indexed text, where the index might
contain links to specific places in a text, not just to the beginning of a
paragraph, but to specific points within a paragraph. But I haven't seen
this.
But the basic thing is this. <a href="#..."> is supposed to let one go
straight to the <a name="#..."> tag. Currently, it doesn't--it goes back
to the top of the paragraph containing that tag, and it is quite possible
that the place with the tag doesn't even show up on that screen. This
just doesn't seem to be the right way of handling HTML named anchors, even
if it works for most documents because of the accident that in most HTML
documents (I assume) the named anchors are at the beginning of a text.
Alex
--
Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED]
Philosophy Department || online papers and home page:
Georgetown University || www.georgetown.edu/faculty/ap85
Washington, DC 20057 ||
U.S.A. ||
-----------------------------------------------------------------------------
"Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur."
- Paul of Worczyn (1424)
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev