help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New @link command for plain links


From: Gavin Smith
Subject: Re: New @link command for plain links
Date: Wed, 3 May 2023 16:39:11 +0100

On Tue, May 02, 2023 at 07:55:04PM +0200, Andreas Falkenhahn wrote:
> On 04.04.2023 at 23:12 Gavin Smith wrote:
> 
> > I've committed a change to texinfo.tex (2023-04-04.21) to implement
> > a new @link command.  Please try it and see if it is what you want. It
> > is experimental and could change.  If this is a success we could implement
> > it in texi2any as well.
> 
> Finally had time to give this a try and it's working really well. I've tried
> a 1000+ page document with lots of cross references and found no issues.
> 
> I've one wish, though: Could the link color be made to default to the color
> used by @xref? I'd like to avoid hard-coding a color in the texi file
> because the color used by @xref seems to differ between different versions.
> E.g. my older texinfo installation uses some kind of dark red whereas
> a newer version seems to use green instead. So I think it would make sense
> if @link could just use the same color as used by @xref by default.

That should be the case already?  The green was just from my example
code setting \linkcolor, but if you take that out then it should be
the default black.

I plan to implement this in texi2any as well, when I have the time to
do so.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]