On Sun, Feb 16, 2025 at 02:53:05PM +0100, pertu...@free.fr wrote: > > What would be the advantage to a user of setting USE_NODES=0? > > If there are lone nodes, they are associated to the preceding section. > It allows to have HTML more book like, while Info could have more @node > units. I am not sure that it is often used, but it was important enough > as a difference that it was how texi2html was designed in th eearly 2000. > > Setting USE_NODES=0 also has some other effects on whether node or > sectioning command are used as names for some links. But it is a > different matter that is not relevant here.
Thanks for explaining it. > > Yes, I agree. For simplicity @label and @node should work the same way > > here. > > Actually, I was proposing the opposite, so I was probably unclear. > > For @node, the association is with the next sectioning command, even if > there are @*heading commands in-between. This is also quite > theoretical, as the node should be right before a sectioning command, > but still it is the rule. > > I was proposing that for @anchorname, the rule would be different, ie, > it would be associated to the following sectioning or heading command, > not to the next sectioning command without node nor anchorname. We should change @node to be associated with the heading command so that it works the same way.