On Mon, Sep 14, 2020 at 12:49:51PM -0700, Per Bothner wrote: > > I'm hoping we can move forward on this. (There was concern that > older browsers would not understand <section>, but that should > not be a problem if they just ignore it.) > > However, while I can make local changes to HTML.pm, I don't > understand enough of the logic and control flow to achieve the > desired structure. Can someone help? Given a few hints, I can > probably fill in the details, testing, and (if needed) modify info.js.
I have not looked into detail at what you want to achieve, and I do not know if it is helping, but there are two examples you can look at that could be more like what you want to achieve. * in tp/init/book.pm the function book_convert_heading_command, (most probably without the call to book_print_sub_toc) * in tp/Texinfo/Convert/DocBook.pm, the conversion is achieved by a call to convert_document_sections inherited from Texinfo::Convert::Converter which uses sections and not nodes as the primary units -- Pat
