Re: automatic generation of @menu entries

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
> Date: Sun, 12 Sep 2021 11:03:54 +0200
> From: Patrice Dumas <[email protected]>
> 
> It is already the case, in the sense that @menu are not needed anymore.
> In Info output, menus are automatically generated if they do not exist.
> In HTML the new default does not require menus.  In addition, there is a
> "tree transformation" that can be used to add menus,
> 'complete_tree_nodes_menus' (and also one to add a master menu
> 'regenerate_master_menu').  I think that they do what the emacs commands
> do, on the tree used internally in texi2any.  Tree transformations are
> set by setting the TREE_TRANSFORMATIONS customization option, so
> something like:
> 
>  -c 'TREE_TRANSFORMATIONS=complete_tree_nodes_menus,regenerate_master_menu'

Thanks!  This is in the "TIL" category.  I just wish this were
prominently documented in the Texinfo manual, where menus are
described, instead of being hidden in an obscure subsection about
customizations.  And perhaps also called out in NEWS?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.