bug-texinfo
[Top][All Lists]
Advanced

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

Re: imprecise cross reference


From: Benno Schulenberg
Subject: Re: imprecise cross reference
Date: Tue, 04 Sep 2007 00:21:01 +0200
User-agent: KMail/1.9.7

Eli Zaretskii wrote:
> > From: Benno Schulenberg <address@hidden>
> > When in current CVS doing `info info-stnd scroll`, followed by
> > three <Tab>s and <Enter>, the cursor does not sit on the
> > paragraph that explains `scroll-behavior',
>
> I take it that 3 TABs get you to this cross-reference:
>
>    *Note `scroll-behavior': Variables, for more information.

Yes.

> It's a general problem: Info cross-references cannot specify a
> precise position of the reference,

Well, reading `info texinfo` a bit, it can: with 'anchor'.  See 
attached crude patch, which tries to avoid the ugly "::,".  
Incidentally, the `scroll-behavior' paragraph itself already 
contains such an anchored internal cross reference:

  This variable normally affects only scrolling commands.  *Note
  cursor-movement-scrolls::, for information on how to widen its
  scope.

> One way of fixing this would be to modify the node text so that
> the first place that mention "scroll-behavior" is the one that
> describes the variable.  This should be so anyway, as any term
> should be explained before it is used.

Sometimes one needs a forward reference, sometimes in the same node 
when the node is long.

Benno

Attachment: texinfo--scrolling-anchor.patch
Description: Text Data


reply via email to

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