ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill McClain <wmcclain@salamander.com>
Cc: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: suppressing header and keeping footer
Date: Thu, 28 Feb 2002 08:13:07 -0600	[thread overview]
Message-ID: <3C7E3AF3.1B638008@salamander.com> (raw)
In-Reply-To: <5.1.0.14.1.20020227002357.02b696b0@server-1>

Hans Hagen wrote:

> probably
> 
> \definetext[chaptertext][footer][pagenumber]
> \setuphead[chapter][header=high,footer=chaptertext]
> \setupheadertexts[pagenumber]
> \setupfootertexts[left][right]
> \chapter{eerste} \dorecurse{20}{\input tufte \relax}
> \chapter{tweede} \dorecurse{20}{\input tufte \relax}

Sorry to be difficult, but this (and variations) is not working for me.
Here is the job:

\definetext[chaptertext][footer][pagenumber]
\setuphead[chapter][header=high,footer=chaptertext]
\setupheadertexts[pagenumber]
\setupfootertexts[left][right]
\starttext
\chapter{eerste} \dorecurse{20}{\input tufte \relax}
\chapter{tweede} \dorecurse{20}{\input tufte \relax}
\stoptext

...and here is the output:

   http://home.salamander.com/~wmcclain/header.pdf

The chapter pages have the same header as the other pages. My goal is to
suppress headers and keep footers on chapter pages. The manual in 4.17
has similar lines, but I don't see how to use them.

While I'm looking at 4.17, I have other questions:

(1) What does "high" mean? The manual says: "one page visible, no
whitespace". I don't know what that means. I have run experiments, but
they all look alike.

(2) The manual says "When setups are done between \start and \stop they
will only work locally." What are \start and \stop? They are not listed
in the index.

(3) What do parameters #3, 4 and 5 do in \definetext? They manual
doesn't say.

-Bill


  reply	other threads:[~2002-02-28 14:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-26 16:39 Bill McClain
2002-02-26 16:52 ` Hans Hagen
2002-02-26 20:38   ` Bill McClain
2002-02-26 23:24     ` Hans Hagen
2002-02-28 14:13       ` Bill McClain [this message]
2002-03-01  0:35         ` Hans Hagen
2002-03-02 12:25           ` Bill McClain

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=3C7E3AF3.1B638008@salamander.com \
    --to=wmcclain@salamander.com \
    --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).