bug-texinfo
[Top][All Lists]
Advanced

[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: Tue, 21 Dec 2021 21:28:45 +0000
User-agent: Mutt/1.9.4 (2018-02-28)

On Mon, Oct 18, 2021 at 10:35:17AM +0200, Benno Schulenberg wrote:
> > 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.
> 
> Indeed.

I've changed this in commit d94128ef20.  Now a list of chapters will be output
with -c CONTENTS_OUTPUT_LOCATION=inline.

> Thanks.  Combining "-c CONTENTS_OUTPUT_LOCATION=inline" and "-c 
> FORMAT_MENU=menu"
> brings back the old arrangement.  Almost.  Because now each menu item is 
> followed
> by a colon.  :|  Not good.

'-c MENU_ENTRY_COLON=' would probably get rid of that colon.

> Also, using those options and an @contents command, the menu is flush against 
> the
> left margin.  But without the options and without @contents, the menu is 
> slightly
> indented.  The latter looks much better.
> 
> 
> > You could add @shortcontents at the start of the document to get a list
> > of chapters.  Do you think that would solve the problem?
> 
> It would.  However, the links don't work: clicking them does not lead 
> anywhere.
> 
> :|

Haven't looked into this yet.

> (Also, I don't want the loud "Short Table of Contents" header.  Is there a way
> to suppress that?  I like that the list is numbered instead of bulleted, but 
> do
> not want the header.)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]