On Sat, Mar 01, 2025 at 10:05:49PM +0000, Gavin Smith wrote: > On Fri, Feb 14, 2025 at 06:40:31PM +0100, Patrice Dumas wrote: > > Hello, > > > > This comes from the thread on anchors, but I start a new thread to avoid > > mixing the two issues. > > > > 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. > > > > This means that > > * if xrefautomaticsectiontitle is on, it is used in @xref and HTML > > headers similarly to sectioning commands > > Note that a bare @node line does not work as a cross-reference target in > texinfo.tex without a section or heading command following it.
Following right after or following in the file? > The @xrefname command we were discussing before would be easy to implement, > so you could write instead: > > @node Baz > @xrefname Baz Node > > This would work exactly the same, except no heading would be printed. > I'm not sure if I should implement this in texinfo.tex now, though. Unless I am missing something, I think that this needs to be implemented in HTML together with the change in @heading you just implemented, so for consistency should be in texinfo.tex too? -- Pat