help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with heading appearing on new chapter page


From: Gavin Smith
Subject: Re: Problem with heading appearing on new chapter page
Date: Fri, 8 May 2020 12:02:43 +0100
User-agent: Mutt/1.9.4 (2018-02-28)

On Thu, May 07, 2020 at 07:26:51PM +0200, Sebastian Urban wrote:
> > I don't know why the heading customization was added in the first place
> > but I imagine it would be used for people proof-reading drafts (as
> > mentioned in the manual).  This is a different use to looking good for a
> > user.  It has never supported blank headings for chapter pages only.
> 
> Well, if so (the proof-reading usage), I can leave the idea of
> making it the default behaviour, but there is still place for them as
> "hidden" possibility.
> 
> If someone ask, it's easier to point him to place in code, or just
> tell him to use e.g. "@thissectionheading", instead of describing
> where to go in TEXINFO.TEX and what to change.  The possibility will
> be waiting.

The implementation could change, so it is better for people to patch 
particular versions of texinfo.tex if they want more customization than 
what is supported.  I am not going to add all of 
@thischapternameheading, @thisfileheading and so on.  If this was going 
to be supported, it would probably be implemented differently, by 
overriding the values of \evenheadline and \oddheadline.  The 
@thischapterheading macro was just the easiest way of implementing 
blanking the chapter name, but doesn't generalise well.

> P.S.  It's related, so I'll ask here, could you make "@thistitle" used
> by predefined headings like "@headings double", to NOT appear on new
> chapter pages, as well as e.g. short contents, table of contents (all
> pages of them)?

If you use "@headings double" only after @contents, you will avoid the 
headings in the table of contents.

It's not completely clear that the @headings double format would be 
improved by your suggestion as the document title in the heading is not 
duplicating the chapter heading in the main part of the page.  If you 
were printing a book I guess you would prefer to have it blank.  I guess 
it is not really necessary to have the document title on every odd page 
as people tend to know what book you are reading.  I think I agree with 
your suggestion but I would be interested to hear if other people have 
thoughts on it too.




reply via email to

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