* Header/footer fonts problem in 20 DEC 2011 beta @ 2011-12-22 1:26 Peter Park Nelson 2011-12-22 8:21 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Peter Park Nelson @ 2011-12-22 1:26 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Header/footer fonts problem in 20 DEC 2011 beta 2011-12-22 1:26 Header/footer fonts problem in 20 DEC 2011 beta Peter Park Nelson @ 2011-12-22 8:21 ` Hans Hagen 2011-12-28 5:55 ` Peter Park Nelson 0 siblings, 1 reply; 6+ messages in thread From: Hans Hagen @ 2011-12-22 8:21 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Header/footer fonts problem in 20 DEC 2011 beta 2011-12-22 8:21 ` Hans Hagen @ 2011-12-28 5:55 ` Peter Park Nelson 2011-12-28 10:05 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Peter Park Nelson @ 2011-12-28 5:55 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users 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 <pragma@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.nelson@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Header/footer fonts problem in 20 DEC 2011 beta 2011-12-28 5:55 ` Peter Park Nelson @ 2011-12-28 10:05 ` Hans Hagen 2011-12-28 15:37 ` Peter Park Nelson 0 siblings, 1 reply; 6+ messages in thread From: Hans Hagen @ 2011-12-28 10:05 UTC (permalink / raw) To: Peter Park Nelson; +Cc: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Header/footer fonts problem in 20 DEC 2011 beta 2011-12-28 10:05 ` Hans Hagen @ 2011-12-28 15:37 ` Peter Park Nelson 2011-12-28 17:42 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Peter Park Nelson @ 2011-12-28 15:37 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users 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 <pragma@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.nelson@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Header/footer fonts problem in 20 DEC 2011 beta 2011-12-28 15:37 ` Peter Park Nelson @ 2011-12-28 17:42 ` Hans Hagen 0 siblings, 0 replies; 6+ messages in thread From: Hans Hagen @ 2011-12-28 17:42 UTC (permalink / raw) To: Peter Park Nelson; +Cc: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-28 17:42 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-12-22 1:26 Header/footer fonts problem in 20 DEC 2011 beta Peter Park Nelson 2011-12-22 8:21 ` Hans Hagen 2011-12-28 5:55 ` Peter Park Nelson 2011-12-28 10:05 ` Hans Hagen 2011-12-28 15:37 ` Peter Park Nelson 2011-12-28 17:42 ` Hans Hagen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).