On Fri, May 30, 2025 at 05:38:10PM +0100, Gavin Smith wrote: > I've done this. I noticed that complete_node_tree_with_menus it was > not run from C/texi2any.c, but some of this looks quite different to > perl/texi2any.pl so presumably it is on purpose.
In C, the structuring code is called by tta/C/convert/texinfo.c txi_complete_document, with an interface that allows to determine flexibly what structuring code is run. There is no equivalent function in Perl, in the comment the reason is because "the modules are loaded on demand, which makes doing a similar function impossible" (I do not know if this explanation is so good, though). -- Pat