# Re: [NTG-context] \setupheader: leftstyle & rightstyle

Patrick Gundlach wrote:

> 'rightstyle' in the source. And \setupheader is AFAIU for the section
> title.

AFAIU? Sorry, I'm not familiar with that acronym.

> \setupheadertexts[{\sc This is my book!}][{\it \getmarking[section]}]

Ah, yes, that does the trick! Thank you.

Mojca Miklavec wrote:

>     [\sc Book Title][]
>     [][{\it (\getmarking[chapter][current])}]

Okay, that seems to work, too. But why use the [current] argument? Are
there conditions where

\getmarking[chapter]

doesn't return the current chapter title?

> However, there seems to be a little bug. This works perfectly well for
> section (\getmarking[section]), but for chapter the chapter labels
> seem to be erased after the first appearance.

Hmm, that doesn't happen for me. I'm using the 2007-01-23 release of
ConTeXt. Which version are you using?

--
Matt Gushee
___________________________________________________________________________________