> I received a few solutions that didn't work for me.  Thanks to those who wrote
> me. But a little plain TeX trickery did it nicely as follows:
>
> ---------------------------------------------------------------------------
> \setupheadertexts[text]
> [][\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil]
> [\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil][]
> -------------------------------------------------------------------------
hmm, I prefear
 \setupheadertexts[text]%
[]%
[{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]%
[{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}]%
[]%
%%%
or an "ascii-visual" code
 \setupheadertexts[text]%
[][{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]%
[{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}][]%
%%%
I believe that with '{...}'  things are more robusts
(btw I don't see many differences from my '2 cents' )

>
> Since a centered header with page number included is a recurring requirement
> perhaps this should go in the wiki. Or perhaps not :<)

hmm, did you seen
wiki.contextgarden.net/Headers_and_Footers

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

Reply via email to