On Mon, Mar 18, 2024 at 07:30:40PM +0100, Georg-Johann Lay wrote: > > > > 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. > > Hi Patrice, > > thanks for the swift answer. In my specific case it is only about > @table @code. If I understand you correctly, then this was a glitch > in texinfo, and not that @anchor and @item are fundamentally > incompatible. That's good to hear.
Well, I would say that it is borderline. I do not like that it is ok in @table and not in @vtable for instance, the constructs correct in both should be the same. Even if it not exactly the same and probably does not gives you the exact expected output, I think that the following would be a more expected construct: @table @code @item label1 @anchor{label1} Text1 @end table -- Pat