ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: rha17@t-online.de
To: ntg-context@ntg.nl
Subject: Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.
Date: Wed, 7 Apr 2021 20:20:54 +0200	[thread overview]
Message-ID: <DC48B284-9B43-46EF-93AA-80CE77639AEC@t-online.de> (raw)

Hi list,

I typeset my first project with ConTeXt, a small booklet with some chapters, frontmatter, no headers, but pagenumbers in the middle of the footers. I use two environment files. The text is split into component TeX-files. All is structured by a project and a product file.
Now I have run in some problems, I couldn’t solve with the garden and the archives of this and stackexchange’s list. But I’m sure that it is almost too simple for you experts. Let’s start with one.

As intended, a new chapter starts on a right/odd page. If the chapter before ends on a right page, too, there should be a blank left/even page. But in my case there is the pagenumber in the footer – which looks more horrible than an orphan line.

A. Which setting in which setup or definition gives a command like: suppress/skip/hide the header, footer and margin of last page of a chapter, if the text area is empty.

B. More elaborate, a set of commands could 
   – distinguish between headers, footers, an margins and 
   – extend the commands on those pages at the end of the chapters
      – that do not show any text within the last line of the text area, i. e. the very last page of a chapter (even, but whith some text) 
      – or the second last page (odd, with some text, before a complete blank even page).

A book design according to (A) is standard. I’m sure there is a solution in ConTeXt.

(B) can be found often, at least in books from pre-computer times.

Ralf
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2021-04-07 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 18:20 rha17 [this message]
2021-04-07 18:29 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DC48B284-9B43-46EF-93AA-80CE77639AEC@t-online.de \
    --to=rha17@t-online.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).