From: Hans Hagen <pragma@wxs.nl>
Cc: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: suppressing header and keeping footer
Date: Tue, 26 Feb 2002 17:52:12 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20020226175106.00a24718@server-1> (raw)
In-Reply-To: <3C7BBA24.A8178B08@salamander.com>
At 10:39 AM 2/26/2002 -0600, Bill McClain wrote:
>I have a document with page numbers in the footer and other text in the
>header. On the first page of a chapter I would like to suppress the
>header but keep the page number. \setuphead[chapter][header=none] (or
>header=empty) doesn't do what I would expect. The header is displayed on
>the chapter page as well as the others. Am I using the wrong feature?
>
>Here is a sample doc:
>
>* * *
>\setuppagenumbering
> [alternative=doublesided,
> location={footer, marginedge}]
>
>\setuphead[chapter]
> [number=no,
> page=right,
> header=none]
>
>\setupheadertexts
> []
> [{\em{\getmarking[chapter]}}]
> [{\sc How I Did It}]
> []
>
>\starttext
>\chapter{Introduction}
>First page of chapter. Should have footer but no header.
>\page
>Second page of chapter. Should have header and footer.
>\stoptext
the cleanest way is:
\setuphead[chapter][header=high] % or empty
You can also define named headers and use those for chap pages and so.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------
next prev parent reply other threads:[~2002-02-26 16:52 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 [this message]
2002-02-26 20:38 ` Bill McClain
2002-02-26 23:24 ` Hans Hagen
2002-02-28 14:13 ` Bill McClain
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=5.1.0.14.1.20020226175106.00a24718@server-1 \
--to=pragma@wxs.nl \
--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).