On Thu, Jul 17, 2008 at 4:02 PM, John Culleton <[EMAIL PROTECTED]> wrote:
> Here is my current \setupheadertexts
> \setupheadertexts[text]
> [chapter][pagenumber][pagenumber][Don't Leave Your Company's Money on
> the Table]
>
> It works fine for chapters. I have a few titles that I want to have
> running heads for also, such as Preface, Introduction and so on.  I
> tried using a special \setupheadertexts locally with the entire text
> enclosed in brackets thus:
> {\setupheadertexts[text]
> [Introduction][pagenumber][pagenumber][Don't Leave Your Company's
> Money on the Table]
> (text)
> ...
> }
> but that didn't work.
>
> Changing the second field to
> {chapter,title] just gave me the words "chapter,title".
> Somehow there must be a way to change the current chapter marking but
> I can't figure it out.

You could try (untested):

\setupheadertexts
  [\doiftextelse{\getmarking[title]}{\getmarking[title]}{\getmarking[chapter]}]
  [pagenumber]
  [pagenumber]
  [Don't Leave Your Company's Money on the Table]

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to