On Sun, Sep 27, 2026 at 06:52:29PM +0100, Gavin Smith wrote: > On Thu, Sep 24, 2026 at 10:23:14PM +0200, Patrice Dumas wrote: > > Yes, with > > -c TREE_TRANSFORMATIONS=insert_nodes_for_sectioning_commands > > > > I previously wanted to add another value for USE_NODES, but in the end > > using "-c TREE_TRANSFORMATIONS=insert_nodes_for_sectioning_commands" > > seems best to me. The real question is whether we should make is the > > default. In that case, maybe we could add a customization variable to > > avoid doing it. > > I'd like to make it the default.
What about the name avoiding the tree transformation? Proposal: NO_ADDED_SECTION_NODE 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. > In the texinfo.tex implementation, there is a warning printed and the > page number is omitted for the cross-reference. > > l.8: Warning: ambiguous xref to two > > (texinfo.tex warnings have never been very good so I don't think we need > to worry about trying to make the warnings consistent between texinfo.tex > and texi2any.) For texi2any this is an error, the normal error one get when a @*ref target does not exist. -- Pat
