From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33041 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: pagenumber in header line.-SOLVED Date: Wed, 31 Jan 2007 09:55:52 +0100 Message-ID: References: <200701301113.34905.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170233785 4736 80.91.229.12 (31 Jan 2007 08:56:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Jan 2007 08:56:25 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 31 09:56:12 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HCBGA-0001Ys-LA for gctc-ntg-context-518@m.gmane.org; Wed, 31 Jan 2007 09:56:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1DF1AF1; Wed, 31 Jan 2007 09:55:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12660-01; Wed, 31 Jan 2007 09:55:45 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18ACDE6; Wed, 31 Jan 2007 09:55:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB163E6 for ; Wed, 31 Jan 2007 09:55:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10121-05 for ; Wed, 31 Jan 2007 09:55:39 +0100 (CET) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.234]) by ronja.ntg.nl (Postfix) with ESMTP id 7D60EDA for ; Wed, 31 Jan 2007 09:55:39 +0100 (CET) Original-Received: by nz-out-0506.google.com with SMTP id z3so122618nzf for ; Wed, 31 Jan 2007 00:55:52 -0800 (PST) Original-Received: by 10.65.154.10 with SMTP id g10mr855024qbo.1170233752589; Wed, 31 Jan 2007 00:55:52 -0800 (PST) Original-Received: by 10.65.183.11 with HTTP; Wed, 31 Jan 2007 00:55:52 -0800 (PST) In-Reply-To: <200701301113.34905.john@wexfordpress.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:33041 Archived-At: > I received a few solutions that didn't work for me. Thanks to those who wrote > me. But a little plain TeX trickery did it nicely as follows: > > --------------------------------------------------------------------------- > \setupheadertexts[text] > [][\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil] > [\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil][] > ------------------------------------------------------------------------- hmm, I prefear \setupheadertexts[text]% []% [{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]% [{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}]% []% %%% or an "ascii-visual" code \setupheadertexts[text]% [][{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]% [{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}][]% %%% I believe that with '{...}' things are more robusts (btw I don't see many differences from my '2 cents' ) > > Since a centered header with page number included is a recurring requirement > perhaps this should go in the wiki. Or perhaps not :<) hmm, did you seen wiki.contextgarden.net/Headers_and_Footers luigi