On Wed, Nov 11, 2026 at 06:53:04PM +0000, Gavin Smith wrote:
> This would be in nodes with explicit pointers given in @node, and which do
> not have a @menu.  The nodes we need to reference are those created with
> AUTO_SECTION_NODE, i.e. those without an explicit @node line.

I added code to remove explicit pointers in that case in the latest commit.

> 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.

I added a warning when explicit directions are removed.  Maybe it could
be checked.

Also maybe we could add as a continuation to the warning some
information about setting AUTO_SECTION_NODE=0 as it is likely that the
manual is best converted with AUTO_SECTION_NODE=0, as is the case for
the Mtools manual?

There is another warning, which seems to me to be ok:
 warning: node up pointer for `Location' is `Top' but up is `Introduction' in 
menu
We could detect that the Location node Up should be modified, as it was
Next of Top before removing the automatic directions, but I do not think
that it is worth it.  The manual author should investigate what is going
on in that situation, I think.

-- 
Pat

Reply via email to