ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "Alan C.Bowen" <bowen@IRCPS.org>
Subject: Re: basic formatting in ConTeXt
Date: Tue, 27 Jan 2004 21:53:53 +0100	[thread overview]
Message-ID: <6.0.1.1.2.20040127215320.02b37ec0@localhost> (raw)
In-Reply-To: <EC5029C5-50BD-11D8-9710-00306544E64E@IRCPS.org>

At 12:42 27/01/2004, Alan C.Bowen wrote:
>I am new to ConTeXt and have what are doubtless some very basic questions. 
>I have checked the manuals and the archives of this list and of the TeX on 
>Mac OS X list the, but have not found what I am looking for yet. What I need is
>(a) to set up the footers and headers in a book so that there is only
>a footer on the first page and only a header on subsequent pages,
>(b) to define the first page number
>(c) to set the color of a page in its entirety.
>
>Any pointers to documents, solutions, or worked examples in ConTeXt will 
>be very much appreciated. I have some idea of how to do these things in 
>Plain TeX, but should really like to migrate to ConTeXt.

\setupoutput[pdftex]

\setupcolors[state=start,textcolor=red]

\definetext[chapterstart][footer][\pagenumber]

\setupheadertexts[\pagenumber]

\setuphead[chapter][header=high,footer=chapterstart]

\starttext

\chapter{Zapf}

\dorecurse{20}{\input zapf\relax}

\stoptext

Along these lines ...

Hans  

  reply	other threads:[~2004-01-27 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-27 11:42 Alan C.Bowen
2004-01-27 20:53 ` Hans Hagen [this message]
2004-01-28 10:51   ` Alan C.Bowen

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=6.0.1.1.2.20040127215320.02b37ec0@localhost \
    --to=pragma@wxs.nl \
    --cc=bowen@IRCPS.org \
    --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).