On Sun, Nov 15, 2026 at 09:10:28PM +0000, Gavin Smith wrote:
> > > We can further
> > > restrict this to sectioning commands at a lower level - i.e. @unnumbered 
> > > in
> > > the @top node, or @section in a @chapter node.  This is because people 
> > > using
> > > sectioning commands for headings would be unlikely to use a higher or 
> > > equal
> > > level of sectioning command to that of the node they are in.
> > 
> > I did not actually understand that part.
> 
> The idea was that in input like
> 
> @node Explicit Node
> @chapter Chapter
> 
> @chapheading Heading

@chapheading does not get a node added, but lets assume that it is

@node Explicit Node
@chapter Chapter

@chapter Heading

> - that the menu wouldn't be added, because @chapheading is at the same
> heading of @chapter.  It would have to be @heading or lower.

The menu wouldn't be added anyway in 'Explicit Node' because it is not
the Up of the node added for Heading.  The up of the node added for
Heading would be the @top/Node Top, so I think that things are ok.


> mtools.texi:66: warning: remove directions of `Top' to have an automatic menu 
> for `Introduction'
> 
> One problem with this warning is that it isn't clear to users what the
> connection may be between "directions" and "automatic menu", and the
> connection seems to be an accident of how the feature is implemented.
> 
> So one way to make this simpler to understand would be to use a message
> like this:
> 
> mtools.texi:66: warning: re-calculating node relations of `Top' to reference 
> `Introduction'
> 
> "Node relations" here refers to both node pointers and the node menu.  It
> would give users some justification for why we are discarding their explicit
> node pointers,

Ok.  It is less precise, but more understandable.  I do not like
re-calculating, though, as we do not calculate anything.  I would prefer
something like resetting, modifying, altering...

> as it is plausible that node pointers and menus "come as a
> package".

The existing menus are not modified, so, even though it is true, we only
modify one and not the other, and we add menus where there were none.

-- 
Pat

Reply via email to