From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33033 Path: news.gmane.org!not-for-mail From: "John R. Culleton" Newsgroups: gmane.comp.tex.context Subject: Re: pagenumber in header line.-SOLVED Date: Tue, 30 Jan 2007 11:13:34 -0500 Organization: WexfordPress Message-ID: <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 1170177528 29685 80.91.229.12 (30 Jan 2007 17:18:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 17:18:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 30 18:18:44 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 1HBwd2-0002uZ-Ec for gctc-ntg-context-518@m.gmane.org; Tue, 30 Jan 2007 18:18:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C8F570; Tue, 30 Jan 2007 18:18:34 +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 26019-02-3; Tue, 30 Jan 2007 18:18:28 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 15E2745; Tue, 30 Jan 2007 18:18:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F2BE45 for ; Tue, 30 Jan 2007 18:18:24 +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 26019-02-2 for ; Tue, 30 Jan 2007 18:18:18 +0100 (CET) Original-Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.200.84]) by ronja.ntg.nl (Postfix) with ESMTP id D97B531 for ; Tue, 30 Jan 2007 18:18:14 +0100 (CET) Original-Received: from c-68-50-60-207.hsd1.md.comcast.net ([68.50.60.207]) by comcast.net (sccrmhc14) with ESMTP id <2007013017181701400hjp29e>; Tue, 30 Jan 2007 17:18:22 +0000 Content-Disposition: inline User-Agent: KMail/1.9.4 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:33033 Archived-At: >4 ROBERT S. CABLE >but what I want is the two components in the middle thus: > 4 ROBERT S. CABLE >If I insert \hfil etc. the pagenumbering gets replaced with the word > >"pagenumber". >Solution? 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][] ------------------------------------------------------------------------- Since a centered header with page number included is a recurring requirement perhaps this should go in the wiki. Or perhaps not :<) -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com