On Mon, Feb 24, 2025 at 09:31:16PM +0100, Patrice Dumas wrote:
> On Mon, Feb 24, 2025 at 06:27:39AM +0000, Werner LEMBERG wrote:
> > 
> > I was just bitten by the undocumented feature that `texi2any`
> > generates a `@detailmenu` block if it auto-generates menus, and the
> > top-level menu of a document is not present.
> > 
> > Please make this controllable.  For example, an empty
> > 
> > ```
> > @detailmenu
> > @end detailmenu
> > ```
> > 
> > block at the top-level could indicate that a `@detailmenu` block
> > should be auto-generated.
> 
> Actually, a @detailmenu should appear within a @menu, and if there is a
> @menu there is no menu automatically generated, one must use explicitely
> a TREE_TRANSFORMATIONS, complete_tree_nodes_missing_menu.  To me this is
> another reason not to use that construct.

OK good point, I forgot that @detailmenu should occur within @menu.

Reply via email to