On 1/22/22 02:07, Gavin Smith wrote:
@chapter or @section without @node would become a lot like @heading except perhaps there could also be an @anchor generated for the chapter heading as well as appearing in the table of contents. There would have to be a check that the name of the automatic @anchor didn't clash with any other @node or @anchor.
If the @section/whatever is immediately preceded by an @anchor, one can use the explicit anchor instead. In a sense the @anchor functions like the @missing node command, except in terms of splitting. I assume you would disallow sub-nodes: I.e. the next @node command would have to be followed by a sectioning comand at the same or higher level. -- --Per Bothner p...@bothner.com http://per.bothner.com/