![](https://secure.gravatar.com/avatar/51a6f80b7020674647a5a1a6739af240.jpg?s=120&d=mm&r=g)
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. On the plus side: 2. \restoreinterlinespace is no longer needed with section headers in a grid layout. (See: http://archive.contextgarden.net/message/20050620.212538.c081f1e4.en.html). Thank you for fixing that. 3. columnsets no longer run into the page footer area when using \setupheader[state=high]. Thanks, Hans! Thanks, PPN -- Peter Park Nelson peter.park.nelson@gmail.com
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/51a6f80b7020674647a5a1a6739af240.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 28-12-2011 06:55, Peter Park Nelson wrote:
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...
- I fixed the font - I added an extra hsize setting to get the rule right (btw, hairline is not the best choice here) I'll upload a beta later today. Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/51a6f80b7020674647a5a1a6739af240.jpg?s=120&d=mm&r=g)
Thank you, Hans.
Can you tell me a better way to do the header rule than \hairline? I
was using \setupbackgrounds[header][bottomframe=on] but I wanted to
have an empty header (with vertical header space and no bottomframe)
on the first page and I could not figure out how to turn off the frame
on that page only. I suppose I could use header=high and define a
different layout for the first page... but if there is a better way to
do a rule that would be handy.
PPN
On Wed, Dec 28, 2011 at 4:05 AM, Hans Hagen
On 28-12-2011 06:55, Peter Park Nelson wrote:
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...
- I fixed the font - I added an extra hsize setting to get the rule right (btw, hairline is not the best choice here)
I'll upload a beta later today.
Hans
----------------------------------------------------------------- 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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 28-12-2011 16:37, Peter Park Nelson wrote:
Thank you, Hans.
Can you tell me a better way to do the header rule than \hairline? I was using \setupbackgrounds[header][bottomframe=on] but I wanted to have an empty header (with vertical header space and no bottomframe) on the first page and I could not figure out how to turn off the frame on that page only. I suppose I could use header=high and define a different layout for the first page... but if there is a better way to do a rule that would be handy.
I normally use the backgrounds mechanism, but if you hook into before/after, best use \blackrule[..] or just \hrule (and not a command that adds a \strut in front). Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Park Nelson