On Mon, Sep 28, 2026 at 05:58:46PM +0200, Patrice Dumas wrote: > On Sun, Sep 27, 2026 at 11:32:20PM +0200, Patrice Dumas wrote: > > I added the disambiguation suffix to the created nodes corresponding to > > sections with the same normalized name. > > > > > shadow-repeated.texi:22: warning: @section `two' already added node > > > shadow-repeated.texi:13: warning: added for @section > > > > The above message is not output anymore. > > Note that it is only for HTML and Info. For the other formats (docbook, > latex, plaintext...), the first section only is considered as a target, > this message is still output and there is no error for @xref.
OK, we will just have to be imprecise in the documentation and warn against using two sectioning commands with the same name if there is no node or anchor by that name. We will just have to say that references to the created target may go to the wrong place or not work at all.
