From: Hans Hagen <pragma@wxs.nl>
Cc: "ConTeXt" <ntg-context@ntg.nl>
Subject: Re: Headers and footers
Date: Tue, 24 Oct 2000 09:09:00 +0200 [thread overview]
Message-ID: <3.0.6.32.20001024090900.01c91610@pop.wxs.nl> (raw)
In-Reply-To: <01ac01c03c7f$bf736da0$a3ccfea9@nuovo>
At 11:27 PM 10/22/00 -0000, Giuseppe Bilotta wrote:
>Hello, I'm trying to set up headers and footers in my documents.
>
>What I would like to have is the following:
>
>Headers: page number on the outside, "Chapter 1 (<chaptertext>)" on the
>inside
>Footers: empty
>
>except in the pages where chapters begin, in which the Header is empty,
>while the footer has the page number, centered. I then tried the following:
>
>\setupheadertexts[chapter][pagenumber][pagenumber][chapter]
>
>which does almost the right thing in most of the pages: I lack the "Chapter
>1 (...)" part though, and I didn't manage to set it up.
\definetext[chapter][footer][pagenumber]
\setuphead[chapter][header=high,footer=chapter]
\setupheadertexts[pagenumber]
\setupfootertexts[left text][right text]
\chapter{first} \dorecurse{20}{\input tufte \relax}
\chaoter{second} \dorecurse{20}{\input tufte \relax}
Concerning "chapter 1"
\setupheadertexts[{Chapter \getmarking[chapternumber]}]
>Optionally, I would also like to have a rule between the header and the
>text, and between the text and the footer. How do I set it up?
\setupbackgrounds probably already in the mail archive
>Also, I would like section numbers to display as the simple number, not as
>chapter.section; how do I set this up in ConTeXt?
\setupsection [section-3] [previousnumber=no]
\chapter {test}
\section {test}
(sections are level 3)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2000-10-24 7:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-22 23:27 Giuseppe Bilotta
2000-10-24 7:09 ` Hans Hagen [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-08-28 17:18 headers " Alan Stone
2008-08-29 6:33 ` Wolfgang Schuster
2008-08-29 7:57 ` Jano Kula
2008-08-29 8:53 ` Alan Stone
2008-08-29 10:21 ` Taco Hoekwater
2008-08-29 10:38 ` Yue Wang
2008-08-29 11:20 ` Wolfgang Schuster
2008-08-29 11:43 ` Yue Wang
2008-08-29 12:23 ` Taco Hoekwater
2008-08-29 15:06 ` Alan Stone
2008-09-01 13:31 ` Alan Stone
2000-05-16 21:14 Hraban
2000-05-17 15:29 ` Hans Hagen
1999-08-22 7:45 Headers " David Arnold
1999-08-22 12:42 ` Tobias Burnus
1999-08-22 20:01 ` Hans Hagen
1999-08-23 8:09 ` Tobias Burnus
1999-08-24 23:28 ` David Arnold
1999-08-25 7:35 ` Hans Hagen
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=3.0.6.32.20001024090900.01c91610@pop.wxs.nl \
--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).