ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* This works. Good headers and footers.
@ 1999-08-23 21:36 David Arnold
  1999-08-24  8:48 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 1999-08-23 21:36 UTC (permalink / raw)
  Cc: pragma

All,

This gives me the headers and footers that I want:

\setuppagenumbering[state=stop]

\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]

But I still cannot underline these headers and footers. All suggestions
thus far don't work. Still searching for an answer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: This works. Good headers and footers.
  1999-08-23 21:36 This works. Good headers and footers David Arnold
@ 1999-08-24  8:48 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 1999-08-24  8:48 UTC (permalink / raw)
  Cc: ntg-context

David Arnold wrote:

> This gives me the headers and footers that I want:
> 
> \setuppagenumbering[state=stop]

Hm. So now you don't get numbers. Better say: [location=] to reset the
default location. 

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

Ok. But you probably have to turn them off in places where no titles are
available

\doifcontent{pre content}{post content}{no content}\somebox

so you get something like:  

\doifcontent 
  {Chapter \getmarking[chapternumber][first].\space} {} {}
\hbox{\getmarking[chapter][first]}

> But I still cannot underline these headers and footers. All suggestions
> thus far don't work. Still searching for an answer.

Not even the background trick? Using it daily -)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-24  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-23 21:36 This works. Good headers and footers David Arnold
1999-08-24  8:48 ` Hans Hagen

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).