On Wed, Jun 04, 2025 at 12:21:52AM +0200, Patrice Dumas wrote:
> 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).

It doesn't really make sense to me, as I though that C/convert/texinfo.c
would be the analogue of perl/Texinfo/Convert/Texinfo.pm for converting
to the Texinfo format, but I don't mind as long as I haven't inadvertently
introduced an error into the code with my changes by failing to update
all the C code correctly.

Reply via email to