[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: version 6.8 forces Table of Contents to top of HTML document
From: |
Gavin Smith |
Subject: |
Re: version 6.8 forces Table of Contents to top of HTML document |
Date: |
Sun, 17 Oct 2021 12:18:00 +0100 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
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?