@anchor on @item line (was: emacs-29 889a550ca08: ; Fix Texinfo warnings)

2023-11-05 Thread Ihor Radchenko
Hi, This is a question regarding a recent change in Texinfo. AFAIU, @anchor in Texinfo can be used to refer to arbitrary place in the document: https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040anchor In some scenarios, this "arbitrary place" can be located _inside_ an ite

Re: @anchor on @item line (was: emacs-29 889a550ca08: ; Fix Texinfo warnings)

2023-11-06 Thread Gavin Smith
On Sun, Nov 05, 2023 at 11:30:42AM +, Ihor Radchenko wrote: > However, there is a warning being produced when @anchor is found on the > same line with an item: > > org.texi:15975: warning: @anchor should not appear on @item line > > The problematic .texi source is > > @table @asis >

Re: @anchor on @item line (was: emacs-29 889a550ca08: ; Fix Texinfo warnings)

2023-11-07 Thread Patrice Dumas
On Mon, Nov 06, 2023 at 07:29:50PM +, Gavin Smith wrote: > On Sun, Nov 05, 2023 at 11:30:42AM +, Ihor Radchenko wrote: > > May someone please explain the correct usage of @anchor in the above > > example and why the warning is being thrown? > > I don't think there's really much wrong with