Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Fix node references and menu (was Re: Yodl 4 required?)
- X-seq: zsh-workers 50086
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>, dana <dana@xxxxxxx>
- Subject: Re: PATCH: Fix node references and menu (was Re: Yodl 4 required?)
- Date: Thu, 21 Apr 2022 14:34:07 -0700
- Archived-at: <https://zsh.org/workers/50086>
- In-reply-to: <20220410220707.GH27526@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7aiLrV9bMHfzVq3i67+wVjuqdxt-QBXpSUO8HmPzmQQDw@mail.gmail.com> <7f1022ed-e3cf-463b-a19c-3e097406a0db@www.fastmail.com> <CAH+w=7Yd_Xk2_krs2qJb93im6jYSWGDseQEsB=8G506U+-2gkg@mail.gmail.com> <CAH+w=7b_X=TD05skkMdi0VPsbbeONTa9e6B48BpmKHf2FhwkcQ@mail.gmail.com> <20220410220707.GH27526@tarpaulin.shahaf.local2>
On Sun, Apr 10, 2022 at 3:07 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> Bart Schaefer wrote on Sun, Mar 13, 2022 at 21:00:16 -0700:
> > On Sun, Mar 13, 2022 at 8:34 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > >
> > > makeinfo (GNU texinfo) 4.8 fails
> > > texi2any (GNU texinfo) 6.7 works
> >
> > This repairs the cross-references. texi2any seems to be too
> > forgiving, because these really were wrong.
>
> Sorry for the breakage and thanks for fixing this. What should I do
> differently next time?
Seems to come down to:
1) If you add new texinode(this)(next)(prev)(up) entries, the (up)
section needs a startmenu()/endmenu() that references each of the
(this).
2) If there is a sect(thing) or subsect(thing) following the
texinode(this), (thing) must be exactly the same as (this).
There are probably nuances I'm missing, but the above is what fixed
the errors from the old makeinfo.
> I had built the documentation (all formats)
> before pushing that, and here (Debian) «make info» still passes on
> master if I locally revert your fix.
At some point the texi packages re-implemented "makeinfo" in terms of texi2any.
texi2any is supposed to warn about missing cross-references unless the
--no-validate flag is passed, but it doesn't catch all the same ones
that the older makeinfo does.
> I guess I should try to build on a more bleeding-edge distro (e.g., in
> Debian sid)?
Unless texi2any has been fixed, using a newer distro is not going to
help ... you need an older one.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author