From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18291 Path: main.gmane.org!not-for-mail From: Matt Gushee Newsgroups: gmane.comp.tex.context Subject: Page numbers in margin? Date: Mon, 14 Feb 2005 13:21:04 -0700 Message-ID: <42110830.6060602@havenrock.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108412347 14867 80.91.229.2 (14 Feb 2005 20:19:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2005 20:19:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 14 21:19:07 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0mfs-0007e7-1M for gctc-ntg-context-518@m.gmane.org; Mon, 14 Feb 2005 21:18:28 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A740D127ED; Mon, 14 Feb 2005 21:20:50 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19835-03-3; Mon, 14 Feb 2005 21:20:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5449812788; Mon, 14 Feb 2005 21:20:48 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A39B12788 for ; Mon, 14 Feb 2005 21:20:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19835-03-2 for ; Mon, 14 Feb 2005 21:20:46 +0100 (CET) Original-Received: from mz2.forethought.net (mzpi4.forethought.net [216.241.36.13]) by ronja.ntg.nl (Postfix) with ESMTP id 7EC061276C for ; Mon, 14 Feb 2005 21:20:46 +0100 (CET) Original-Received: from [216.241.35.41] (helo=[10.0.0.2]) by mz2.forethought.net with esmtp (Exim 4.30) id 1D0mi4-0000o8-Sc for ntg-context@ntg.nl; Mon, 14 Feb 2005 13:20:45 -0700 User-Agent: Mozilla Thunderbird 1.0 (X11/20050108) X-Accept-Language: en-us, en Original-To: ConTeXt users' mailing list X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: main.gmane.org gmane.comp.tex.context:18291 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18291 Hello, all-- I am creating a layout for electronic books in which all the body text is in a single, fairly narrow column, with minimal space at the top and bottom of each page. I would like to place page numbers in the left margin, aligned with the bottom of the text, and the running heads (if any) also in the left margin, aligned with the top of the text. Is there a way to do this in ConTeXt? I can see that the standard page numbering and header commands don't support this kind of placement. I can come very close to the desired effect with the following: * Place the page numbers in the margin area of the footer, e.g.: \setuppagenumbering [...,location=inleft] * Place the header text in the margin area of the header, e.g.: \setupheadertext [margin] [section] [] * Use negative dimensions to cause the header and footer to overlap the text area, e.g.: \setuplayout [...,headerdistance=-0.35in,footerdistance=-0.5in] As I said, this comes very close to the desired effect, but it seems impossible to align the header text and page numbers with the main text. Also, the header texts are mostly too long to fit on a single line in the margin, and I have not found a way to induce line wrapping. Your suggestions are greatly appreciated. -- Matt Gushee Englewood, CO, USA