[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why are `@anchor` and friends forbidden on an `@item` line?
From: |
Gavin Smith |
Subject: |
Re: why are `@anchor` and friends forbidden on an `@item` line? |
Date: |
Tue, 29 Oct 2024 17:52:18 +0000 |
On Tue, Oct 29, 2024 at 06:00:12PM +0100, pertusus@free.fr wrote:
> On Tue, Oct 29, 2024 at 04:19:23PM +0000, Werner LEMBERG wrote:
> > This is with a self-compiled version 7.1. For some auto-generated
> > documentation I tried stuff like this:
> >
> > ```
> > @table @asis
> > @item @anchor{foo}@code{foo} ...
> > @item @anchor{bar}@code{bar} ...
> > ...
> > @end table
> > ```
> > BTW, there is a similar issue with
> >
> > ```
> > @table @asis
> > @item @ref{foo}
> > ...
> > @item @bar{foo}
> > ...
> > @end table
> > ```
> >
> > to be used with HTML output only, and which also causes warnings with
> > `makeinfo`. In this case, however, I don't know how to avoid the
> > warning...
>
> This was reported some time ago and this warning has been removed in the
> current code.
>
> When I try your example code, I do not get any warning with the current
> development version (which is likely to become the next release soon).
It was already fixed in Texinfo 7.1.1, released 2024-09-07:
* texi2any
. do not complain about presence of @anchor inside @item in a table
Previously discussed:
https://lists.gnu.org/archive/html/help-texinfo/2023-11/msg00002.html