ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Setting up header text
@ 2005-02-10 17:56 cormullion
  2005-02-11  8:33 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: cormullion @ 2005-02-10 17:56 UTC (permalink / raw)


I’m trying to use \setupheadertexts to set up the headers to a specification. Is it possible to insert text between the various ‘chapter/section’ keys? What I want is something like this:

| section           “Chapter “ chapternumber “-” chapter  |  |  “Chapter “ chapternumber “-” chapter              section |

where the “|” is a page edge, on a double-sided layout, and the “Chapter”s are literal strings, rather than the keys.

I’m not clear from the command description whether this is possible. If not, might a clever macro do it?

thanks 

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

* Re: Setting up header text
  2005-02-10 17:56 Setting up header text cormullion
@ 2005-02-11  8:33 ` Hans Hagen
  2005-02-11 10:36   ` cormullion
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2005-02-11  8:33 UTC (permalink / raw)


cormullion wrote:
> I’m trying to use \setupheadertexts to set up the headers to a specification. Is it possible to insert text between the various ‘chapter/section’ keys? What I want is something like this:
> 
> | section           “Chapter “ chapternumber “-” chapter  |  |  “Chapter “ chapternumber “-” chapter              section |
> 
> where the “|” is a page edge, on a double-sided layout, and the “Chapter”s are literal strings, rather than the keys.
> 
> I’m not clear from the command description whether this is possible. If not, might a clever macro do it?

\setupheadertexts[{chapter: \getmarking[chapter]}]


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

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

* Re: Setting up header text
  2005-02-11  8:33 ` Hans Hagen
@ 2005-02-11 10:36   ` cormullion
  0 siblings, 0 replies; 3+ messages in thread
From: cormullion @ 2005-02-11 10:36 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> said on 2005-02-11, 9:33 (+0100 GMT):

> \setupheadertexts[{chapter: \getmarking[chapter]}]

Perfect, thanks.

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

end of thread, other threads:[~2005-02-11 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-10 17:56 Setting up header text cormullion
2005-02-11  8:33 ` Hans Hagen
2005-02-11 10:36   ` cormullion

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