[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev references on right side of links?
From: |
Klaus Weide |
Subject: |
Re: lynx-dev references on right side of links? |
Date: |
Tue, 31 Aug 1999 02:11:48 -0500 (CDT) |
On Mon, 30 Aug 1999, Gerald Oskoboiny wrote:
> Hi, long time no lynx-dev.
Greetings to an old-timer. :)
> One of the nice features of Lynx is its ability to generate a
> nice-looking text dump with numbers next to each link and a list
> of references at the end. (using lynx -dump)
>
> But I'd like the numbers to appear on the right hand side of the
> link text rather than the left, to be consistent with the style
> of footnotes/references in technical papers etc.
>
> Would this be very hard to change? (maybe as a configurable option?)
>
> I actually submitted a patch for this a few years ago, but I
> don't know if I did it correctly, and I'm sure the code base has
> evolved a lot since then:
>
> http://www.flora.org/lynx-dev/lynx-dev/9510/0062.html
The basic approach from that patch should still work, although
HText_endAnchor has become much more complicated; it's not
immediately obvious where exactly the marker-adding should be put,
and how it would all interact with the code for not counting
empty (= 'hidden') anchors and for removing trailing spaces.
This should definitely not be the default. For one thing it would
be more fragile wrt. broken HTML. But I understand this is only
wanted for -dump; and in principle, it should work.
Klaus