On Sat, Jul 19, 2025 at 02:20:36AM +0200, Denis 'GNUtoo' Carikli wrote: > While the current Short Sample work fine, if we remove the second > section and run run the following command: > makeinfo -D "VERSION 0.1" -D "UPDATED now" shortsample.texi' > we end up with the following warning: > shortsample.texi:50: warning: node `First Section' unreferenced > > According to the 'Unreferenced Node' thread that was started the > Saturday 17 May 2025[1] on the help-texinfo mailing list, the proper > way to avoid these warnings is to add these node in a menu that is in > the node that is one up in the hierarchy (so in section for > subsections, in subsection for subsubsections, etc). > > [1]https://lists.gnu.org/archive/html/help-texinfo/2025-05/msg00007.html
The complainant in that email thread was using an old version of Texinfo (6.8) but referred at one point, I believe, to the sample Texinfo file from a newer version of the documentation. As you say in your email, there is nothing wrong with the Short Sample example. It can't be expected to work regardless of any modifications that are made to it. The @menu block you have added is unnecessary in newer versions of Texinfo and I don't understand what you hope to achieve by adding in back in.