Hans, I'm including a minimal example below. Behavior is the same
using the 23 dec 2011 beta: odd page headers are not sans, and odd
page footers are not bold. Even though I set state=empty for headers
and footers, they appear on the first page.
Another odd thing -- if I use \setupheader[options...] instead of
\setupheader[text][options...], I get an extra horizontal rule
(\hairline?) on the left side of the page...
%%-------------snip-----------------------------------------------------%%
\setuppapersize[letter][letter]
\setupindenting[yes, medium]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% COLUMNS AND SPANS:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolumnset[body][n=2,balancing=yes]
\definecolumnsethsize{body}{1}{1}\One
\definecolumnsethsize{body}{1}{2}\Two
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% HEADERS AND FOOTERS:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setuppagenumbering
[alternative=doublesided,
location=]
\setupheader[text]
[state=empty,
style=\ss,
after=\hairline]
%\setupheader % Try this to see the extra horizontal hairline
% [state=empty,
% style=\ss,
% after=\hairline]
\setupheadertexts
[{\it Effects of transit scheduling management mitigation}]
[pagenumber]
[pagenumber]
[Doe et al.]
\setupfooter[text]
[state=empty,style=bold]
\setupfootertexts
[footer]
[footer]
[footer]
[footer]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% TEXT STARTS HERE:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttext
\title{Title}
\startcolumnset[body]
\setupindenting[yes]
\dorecurse{30}{\input tufte\par}
\stopcolumnset
\stoptext
%%------------------------snip-----------------------------------------------------%%
On Thu, Dec 22, 2011 at 2:21 AM, Hans Hagen
On 22-12-2011 02:26, Peter Park Nelson wrote:
Hello, I just installed the 20 Dec beta and noticed the following (compared to 29 Nov beta):
1. Headers and footers on ODD PAGES ONLY do not respect text styles set via \setupheader[style=\ss] and \setupfooter[style=\cg]. Text in both cases is in serif type. Headers and footers on EVEN pages have correct fonts. However, setting the font variant and size directly in \setupfootertexts[\cg\bf Footer Text] works for odd pages.
This seems to work ok here:
\setuppagenumbering[alternative=doublesided] \setupheadertexts[Bla Bla] \setupheader[style=bold]
\starttext \dorecurse{100}{test \page} \stoptext
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
-- Peter Park Nelson peter.park.nelson@gmail.com