Olivier wrote:

Hi,

I would like to set the headers all caps, but not the title of the
section in the body text.

This setting

%\setupheader[text][style={\WORD}] % <- does not work
\setupheadertexts[text][\setups{run:left}][][][\setups{run:right}]
\startsetups run:left
  \CapHeadFont\pagenumber\qquad\WORD{\getmarking[section]}
\stopsetups

eats the section title in the headers.

What should I do to get it right?
the best would be an all-caps font; anyhow, here is ahack:
\setupheadertexts
 [\setups{run:middle}]

\startsetups run:middle
  -- \expanded{\WORD{\fetchmark[chapter][first]}} --
\stopsetups

\starttext

\chapter{test}

\stoptext

don't ask why -) 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.com
                                            | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to