On Sun, Oct 25, 2026 at 08:13:32PM +0000, Gavin Smith wrote:
> > I am not very comfortable with calling @heading a "structuring command",
> > as it does not really set the underlying structure the document, it only
> > changes the "visual" structure of the document since it is formatted as
> > a heading, but I think that we should reserve structuring to the other
> > class of sectioning commands.  I may also misunderstand what structure
> > exactly means as it exists in french and may be a false friend.
> 
> No, you are right - there would be the same problem in English.
> 
> I understood that @chapter, @appendix and @unnumbered were sectioning 
> commands,
> and @chapheading was a heading command.  This is from how the words
> were used in the texi2any code.  The term "chapter structuring command"
> was hardly used except in some parts in the manual.
> 
> I will review the manual to check terms are used correctly.

I've spent some time on this.  My understanding is that the issue goes to
the roots of Texinfo - in the name, a hybrid of TeX and Info.

@chapter/@section etc. were for TeX.  @node was for Info.  This thinking
is expressed in an early version of texinfo.texi:

     Although the chapter structuring commands used for creating a printed
  document are entirely different from the node commands for structuring
  an Info file, you are likely to use the two kinds of command together
  since the single Texinfo file is usually designed to be read both as an
  Info file and as a printed manual.  The only time you are likely to use
  the chapter structuring commands without using the node structuring
  commands is if you are writing a document that will never be put into
  Info format, for example, a novel, a letter, an article or a memorandum.

(From Emacs 18.55, man/texinfo, Info node (texinfo)Structuring.  This version
appears to be dated to July 1988.  This node would later be renamed to
"Chapter Structuring", and have a focus on the "chapter structuring"
commands.)

Today, there are more than just two output formats for Texinfo (there are
at least five major ones, with a few more minor variants), and we want Texinfo
language constructs to be meaningful independently of output format.

We can see that the phrase "chapter structuring" made an implicit contrast
with "node structuring".  It also shows that just using the term "structuring
command" for the class of commands containing @chapter (but not @node)
is unclear, as @node could be considered to be a structuring command.

The term "chapter structuring command" may give a sense of confusion to a
user as it implies a dichotomy between node and chapter structuring which
the user may feel they need to understand to properly understand what
this class of commands is.

The term "structuring command" is also unused outside of Texinfo in similar
languages and so is unfamiliar to users; for example, the term "sectioning
command" is used with LaTeX for the analogous concept.

"Sectioning" seems to be a more commonly used word (leaving aside the question
of what @heading etc. are).  For example, searching the mailing list archives
at https://lists.gnu.org/archive/html/bug-texinfo/, "structuring" yields 150
results and "sectioning" yields 455 results.  Both terms are used in the
Texinfo documentation.

I've started changes to prefer using "sectioning" to "chapter structuring"
in the manual, but I still have more work to do on this especially around
the documentation of the heading commands.


Reply via email to