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
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 -----------------------------------------------------------------
Hi,
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
Once Olivier tries this out, perhaps he could add a wiki page? :-) Patrick -- ConTeXt wiki and more: http://contextgarden.net
Quoting "Patrick Gundlach" :
-- was patrick@gundla.ch on Aug 18, 2005 at 12:26:06AM --
Once Olivier tries this out, perhaps he could add a wiki page? Done there: http://contextgarden.net/Headers_and_Footers
Olivier
Hello Olivier,
Once Olivier tries this out, perhaps he could add a wiki page? Done there: http://contextgarden.net/Headers_and_Footers
Great! Thanks. (Same to all contributers). Patrikk -- ConTeXt wiki and more: http://contextgarden.net
participants (3)
-
Hans Hagen
-
Olivier
-
Patrick Gundlach