Re: [NTG-context] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-28 Thread 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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-28 Thread Peter Park Nelson
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 pra...@wxs.nl wrote:
 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.nel...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-28 Thread Hans Hagen

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-27 Thread Peter Park Nelson
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 pra...@wxs.nl wrote:
 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.nel...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-22 Thread 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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-21 Thread Peter Park Nelson
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.nel...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___