On Sun, Oct 17, 2021 at 12:48:11PM +0200, Benno Schulenberg wrote: > > Op 16-10-2021 om 17:50 schreef Gavin Smith: > > Hello Benno, this was a deliberate change. You should be able to output > > the table of contents at the place where @contents occurs by passing > > "-c CONTENTS_OUTPUT_LOCATION=inline" as an option to texi2any. > > Thanks. > > Okay, that gets back the table of contents at the end of the page. > But how do I get back the short menu of chapter links at the top? > (The submenus in chapters 4 and 8 are still produced. Why not the > main menu at the top? This one is essential in a larger document.) > > Benno >
You can get the old behaviour back by specifying "-c FORMAT_MENU=menu". The table of contents at the top of the page serves as a main menu, although it includes all the sections as well as the chapters. By default a list of chapters isn't output at the start, as it would be repetition from the table of contents. However, if "-c CONTENTS_OUTPUT_LOCATION=inline" is given as an option to texi2any, I see that it is a problem that there is no initial list of chapters. You could add @shortcontents at the start of the document to get a list of chapters. Do you think that would solve the problem?
