On Monday, November 9th, 2026 at 3:27 AM, Patrice Dumas <[email protected]> wrote:
> On Sun, Nov 08, 2026 at 03:03:30PM +0000, Heime wrote: > > Texinfo only complains for "@end ifset" and "@end ifclear" being indented, > > whilst is unbothered about whether @ifset and @ifclear are. I support the > > premise that @end shouldn’t receive special treatment when the defining > > block > > doesn't. > > @end is a line command, while @ifset and @ifclear are block commands. > This is most probably why they do not get a warning while @end gets one. > I think that there are warnings for other line commands. The "anomaly" > if there is one, here, is more that block commands do not get a warning > although they are supposed to start at the beginning of a line. Leslie Lamport has made a good exposition about indentation being the future for understanding proofs. https://lamport.azurewebsites.net/pubs/proof.pdf Without indentation, things can easily get out of hand. Consider conditionals within tables, and so forth. @table @asis @item Edition @value{TITLEPAGE-EDITION-NUMBER} @item Sectioning @ifclear tsekn Sequential Sectioning @end ifclear @ifset tsekn Tiered Sectioning @end ifset Sectioning can be organised in several ways - hierarchical, linear, or a combination of both. @strong{Tiered Sectioning} organises sections into levels by nesting @code{@@include} file commands to produce a hierarchical tree of included sections. @strong{Sequential Sectioning} places sections in a linear non-nested sequence of @code{@@include} commands. When the two strategies are used together, the combination is called @strong{Hybrid Sectioning}. @end table
