From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20378 Path: news.gmane.org!not-for-mail From: VnPenguin Newsgroups: gmane.comp.tex.context Subject: How to control \hrule width in header & footer Date: Sun, 15 May 2005 22:18:03 +0200 Message-ID: Reply-To: VnPenguin , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1116188504 31190 80.91.229.2 (15 May 2005 20:21:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 May 2005 20:21:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun May 15 22:21:39 2005 Return-path: 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 1DXPc7-0001Xf-S8 for gctc-ntg-context-518@m.gmane.org; Sun, 15 May 2005 22:21:27 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0EAA9127DA; Sun, 15 May 2005 22:21:46 +0200 (CEST) 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 24364-06; Sun, 15 May 2005 22:21:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 641E31279C; Sun, 15 May 2005 22:18:06 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 57B7C1279C for ; Sun, 15 May 2005 22:18:05 +0200 (CEST) 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 24396-03 for ; Sun, 15 May 2005 22:18:04 +0200 (CEST) Original-Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by ronja.ntg.nl (Postfix) with ESMTP id 70BB512796 for ; Sun, 15 May 2005 22:18:04 +0200 (CEST) Original-Received: by wproxy.gmail.com with SMTP id 36so1802026wra for ; Sun, 15 May 2005 13:18:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WFFb6iSciXxDcFYiQIj/k6sxKbZt7yDvG8EcZZr0MrB0sduYx25W+P9P9qbF3JVAk9bZeCSTm8FRyVtmwGxqH2KzMZYavVkewqhPycfMSofGJ0rZdFfvjBy5usFLzc5Q644yOvODClF+dyx4e/alsSSs9rZSNasV519E8HwBboY= Original-Received: by 10.54.48.76 with SMTP id v76mr3122940wrv; Sun, 15 May 2005 13:18:03 -0700 (PDT) Original-Received: by 10.54.137.1 with HTTP; Sun, 15 May 2005 13:18:03 -0700 (PDT) Original-To: ConTeXt users Content-Disposition: inline X-Virus-Scanned: 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20378 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20378 Hi all, I'm trying to add \hrule after header and before footer. Here is the testing code: ------------------------------------------------------------------------- \setupheader[after=3D\hrule] \setupfooter[before=3D\hrule\blank] \setupheadertexts [text][chapter][section] [section][chapter] \setupfootertexts [text][date][pagenumber][pagenumber][date] \starttext \chapter[ch1]{Toto} \section[sec11]{Sec 11} \input tufte \section[sec12]{Sec 12} \input tufte \stoptext ------------------------------------------------------------------- The result gives me horizontal rules too long. I would like make rule only in "text" location (with the length is \textwidth) not on left and right margins. Anyone could show me how to do that please. Thank you,