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: Andreas Falkenhahn
Subject: Re: New @link command for plain links
Date: Thu, 29 Jun 2023 21:17:18 +0200

Hi,

I've found a problem now with the new @link command. It happens when using
constructions like this:

@example
@link{One, One}
Two
@link{One, Three}
@end example

When converting such a texi to pdf, the line "Two", which doesn't have a
link, uses a different  indentation than the lines "One" and "Three", which
do have links. Here's a full test file for you to check:

\input texinfo

@node One
@chapter ONE

tralala

@page

@node Two

@tex
\gdef\linkcolor{0.1 0.5 0.05}
@end tex

A(@link{One, text})B

A(@link{One})B

@xrefautomaticsectiontitle on

A(@link{One})B

A(@link{Introduction,,bash})B

A(@link{Introduction,Bash,bash})B

@example
@link{One, One}
Two
@link{One, Three}
@end example

@bye

On 04.05.2023 at 18:08 Gavin Smith wrote:

> On Wed, May 03, 2023 at 10:52:58PM +0200, Andreas Falkenhahn wrote:
>> On 03.05.2023 at 17:39 Gavin Smith wrote:

>> > 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.

>> Yes, it is black then but I think it doesn't make sense for links to
>> default to black because it is the text color so nobody will be able
>> to identify links. The @link color should default to the same color
>> that is used by @xref by default...

> Which is black.  As I said you can change the colour.  I don't want to
> change the default from black.  This should be a deliberate choice in
> case the PDF is only intended for use on a computer, not for printing.



-- 
Best regards,
 Andreas Falkenhahn                            mailto:andreas@falkenhahn.com




reply via email to

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