From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73409 Path: news.gmane.org!not-for-mail From: Peter Park Nelson Newsgroups: gmane.comp.tex.context Subject: Re: Header/footer fonts problem in 20 DEC 2011 beta Date: Tue, 27 Dec 2011 23:55:29 -0600 Message-ID: References: <4EF2E893.2030408@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325051754 539 80.91.229.12 (28 Dec 2011 05:55:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2011 05:55:54 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 28 06:55:50 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RfmUO-0007to-Q1 for gctc-ntg-context-518@m.gmane.org; Wed, 28 Dec 2011 06:55:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF16ACB1B4; Wed, 28 Dec 2011 06:55:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id y7cVt+F+R5ki; Wed, 28 Dec 2011 06:55:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DBE3CB1A2; Wed, 28 Dec 2011 06:55:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 94CC4CB1A2 for ; Wed, 28 Dec 2011 06:55:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id h28G2+vS2Dnp for ; Wed, 28 Dec 2011 06:55:30 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id CD655CB170 for ; Wed, 28 Dec 2011 06:55:30 +0100 (CET) Original-Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBS5tTik007201 for ; Wed, 28 Dec 2011 06:55:30 +0100 Original-Received: by wibhq12 with SMTP id hq12so7520665wib.14 for ; Tue, 27 Dec 2011 21:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=nx8qeyAHupuU5oQTrpE/RPoGCyQ4yMVWFeeKzc/iRFU=; b=ZsG61g97FM8DegAD6h24Gx0Ar9BTpAfBenAoVJDLKLRrdmzwRDnq4Yyo6axdGq84VN rWNzqcviHefMke0dd993/0ZpmTX0JLo3kJ9PNW2+AwPnltna5VlciijiQIUBK+vZEpIC IujaNkEaV7RXk2FAlWTcunoBEkZEBUiDrsc7I= Original-Received: by 10.181.12.43 with SMTP id en11mr67154608wid.6.1325051729732; Tue, 27 Dec 2011 21:55:29 -0800 (PST) Original-Received: by 10.223.71.208 with HTTP; Tue, 27 Dec 2011 21:55:29 -0800 (PST) In-Reply-To: <4EF2E893.2030408@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05GetTtdO - 3047034a3ac0 - 20111228 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:73409 Archived-At: 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=3Dempty 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=3D2,balancing=3Dyes] \definecolumnsethsize{body}{1}{1}\One \definecolumnsethsize{body}{1}{2}\Two %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% HEADERS AND FOOTERS: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setuppagenumbering [alternative=3Ddoublesided, location=3D] \setupheader[text] [state=3Dempty, style=3D\ss, after=3D\hairline] %\setupheader % Try this to see the extra horizontal hairline % [state=3Dempty, % style=3D\ss, % after=3D\hairline] \setupheadertexts [{\it Effects of transit scheduling management mitigation}] [pagenumber] [pagenumber] [Doe et al.] \setupfooter[text] [state=3Dempty,style=3Dbold] \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 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=3D\ss] and \setupfooter[style=3D\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=3Ddoublesided] > \setupheadertexts[Bla Bla] > \setupheader[style=3Dbold] > > \starttext > =A0 =A0\dorecurse{100}{test \page} > \stoptext > > > ----------------------------------------------------------------- > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0Hans Hagen | PRAGMA ADE > =A0 =A0 =A0 =A0 =A0 =A0 =A0Ridderstraat 27 | 8061 GH Hasselt | The Nether= lands > =A0 =A0tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 | 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________