* Uppercase in headers
@ 2005-08-17 14:33 Olivier
2005-08-17 21:20 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Olivier @ 2005-08-17 14:33 UTC (permalink / raw)
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?
Thanks,
Olivier
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Uppercase in headers
2005-08-17 14:33 Uppercase in headers Olivier
@ 2005-08-17 21:20 ` Hans Hagen
2005-08-17 22:26 ` Patrick Gundlach
2005-08-17 22:35 ` Olivier
0 siblings, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2005-08-17 21:20 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-18 6:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-17 14:33 Uppercase in headers Olivier
2005-08-17 21:20 ` Hans Hagen
2005-08-17 22:26 ` Patrick Gundlach
2005-08-17 22:53 ` Olivier
2005-08-18 6:48 ` Patrick Gundlach
2005-08-17 22:35 ` Olivier
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).