On Sun, Mar 02, 2025 at 12:02:25PM +0100, pertu...@free.fr wrote: > On Sun, Mar 02, 2025 at 09:48:26AM +0000, Gavin Smith wrote: > > On Sat, Feb 15, 2025 at 01:17:43PM +0000, Werner LEMBERG wrote: > > > > > > > I propose that, if USE_NEXT_HEADING_FOR_LONE_NODE is set, the > > > > @*heading appearing after a @node be treated as much as possible > > > > like a sectioning command. > > > > > > What about HTML split mode? > > > > If there is no preceding chapter, a separate file could be created. For > > example: > > > > @node Node 1 > > @heading Topic One > > > > @dots{} > > > > @node Node 2 > > @heading Topic Two > > > > @dots{} > > > > @node Cap 1 > > @chapter Chapter One > > > > @dots{} > > > > @node Cap 2 > > @chapter Chapter Two > > > > @dots{} > > > > Here there would be three output files, one for "Node 1" and "Node 2", > > one for "Cap 1", and one for "Cap 2". (We could check what texi2any does > > with such input at present.) > > With texi2any, there are 3 output files when split at node, as you said.
When split at chapter, sorry. -- Pat