On Mon, Mar 18, 2024 at 01:24:23PM +0100, Georg-Johann Lay wrote:
> In a texi file, I have a table where each item should get an anchor:
>
> @table @code
>
> @item @anchor{label1}label1
> Text1
>
> @item @anchor{label2}label2
> Text2
>
> @end table
>
> What's the proper way to set an anchor for an item?
> The item should not be out-of-screen when following a generated link.
>
> As for the texinfo version; I don't have control over that because I am
> not the owner of the project; I am just adding (small parts of) the
> documentation.
>
> I fount thread
> https://lists.nongnu.org/archive/html/help-texinfo/2023-11/msg00004.html
>
> so is that warning problem already fixed in recent revisions?
In my tests it seems so. If a @vtable is used instead of a @table and
a printindex is used too, there are two <a> generated for the anchor,
but it does not seems to me to problematic. More problematic is that
there is no visible link to the index entry generated in the @printindex
formatting, which could be investigated.
--
Pat