delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/18/01:24:12

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Mon, 18 Mar 2002 08:22:54 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: pjfarley AT dorsai DOT org, djgpp-workers AT delorie DOT com
Subject: Re: Need help with @xref for dir.txi
In-Reply-To: <5832-Mon18Mar2002062936+0200-eliz@is.elta.co.il>
Message-ID: <Pine.SUN.3.91.1020318081554.4450J-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 18 Mar 2002, I wrote:

> > Date: Sun, 17 Mar 2002 19:27:01 -0500
> > From: "Peter J. Farley III" <pjfarley AT dorsai DOT org>
> > 
> > I successfully applied the patch to the 4.1 version of node.c, but the 
> > results were the same.  All of the @xref's send you to the "* Menu" 
> > entry.
> 
> Something is wrong: it works for me.

I have an idea what could go wrong: did you test this with a normal Info 
file, or just with DIR?

I did the former (my DIR files are too precious to futz with ;-).  That 
is, I produced a something.info file from dir.txi, and then told Info to 
display that file.

If the same works for you, it's possible that the special treatment Info 
gives to DIR files somehow gets in the way.

To make sure your new makeinfo indeed produces the correct information 
for the anchors, look at the tag table at the end of the Info files it 
generates.  There's a "Ref:" line there for each anchor; the number after 
"Ref:" is the byte offset, counted from the first Node line of the file,
of the position where you should land when you follow the cross-reference
to that anchor.  You should see that the old makeinfo produces identical 
offsets for all the anchors in a menu, whereas the patched makeinfo 
produces a different number for each anchor.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019