ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <darnold@northcoast.com>
Cc: ntg-context@ntg.nl
Subject: Re: Headers and footers
Date: Tue, 24 Aug 1999 16:28:13 -0700	[thread overview]
Message-ID: <3.0.5.32.19990824162813.00b368b0@mail.northcoast.com> (raw)
In-Reply-To: <37C0571C.5945215C@wxs.nl>

All,

I tired Hans' idea:

>Or how about: 
>
>\definebackground
>  [top][text]
>  [frame=off,
>   bottomframe=on,
>   offset=0pt,
>   rulethickness=1pt]   

But this puts the line on top of my headers, and it puts a line on the
beginning chapter page, which I do not want. I'm close. Maybe somebody can
help me over the hump. Here is what I have:

\setupbodyfont[11pt]
\setupindenting[medium]

\setuppagenumbering[location=]

\setupheadertexts
 [Chapter {\getmarking[chapternumber][first]}.
{\getmarking[chapter][first]}][pagenumber]
 [Section {\getmarking[sectionnumber][first]}.
{\getmarking[section][first]}][pagenumber]

\definetext
 [start of chapter]
 [footer]
 [pagenumber]

\setuphead
 [chapter]
 [footer=start of chapter,
  header=high]

\setupbackgrounds
  [top][text]
  [frame=off,
   bottomframe=on,
   offset=0pt,
   rulethickness=1pt]

\starttext

\startfrontmatter
 \completecontent
\stopfrontmatter

\startbodymatter

\input chap1/chap1

\input chap2/chap2

\stopbodymatter

\startbackmatter
\stopbackmatter

\startappendices
\stopappendices

\stoptext


  parent reply	other threads:[~1999-08-24 23:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-22  7:45 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 [this message]
1999-08-25  7:35 ` Hans Hagen
2000-05-16 21:14 headers " Hraban
2000-05-17 15:29 ` Hans Hagen
2000-10-22 23:27 Headers " Giuseppe Bilotta
2000-10-24  7:09 ` Hans Hagen
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

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.5.32.19990824162813.00b368b0@mail.northcoast.com \
    --to=darnold@northcoast.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).