From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30080 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: indenting after section headings with before, after keyvals Date: Mon, 7 Aug 2006 12:00:41 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154966505 24282 80.91.229.2 (7 Aug 2006 16:01:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2006 16:01:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 07 18:01:33 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GA7XN-0008M6-8z for gctc-ntg-context-518@m.gmane.org; Mon, 07 Aug 2006 18:01:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83FBF1FD1B; Mon, 7 Aug 2006 18:01:04 +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 26355-02; Mon, 7 Aug 2006 18:00:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D4A61FCB7; Mon, 7 Aug 2006 18:00:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 041671FCB7 for ; Mon, 7 Aug 2006 18:00:52 +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 26914-02 for ; Mon, 7 Aug 2006 18:00:46 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with SMTP id 00D881FC8E for ; Mon, 7 Aug 2006 18:00:44 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hackers.mr.itd.umich.edu ID 44D763AA.EA619.23943 ; 7 Aug 2006 12:00:42 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: 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:30080 Archived-At: On Sun, 6 Aug 2006, Sanjoy Mahajan wrote: > The text after section headings is normally not indented, even if > \setupindenting[yes] is given -- which looks good and was a pain to get > right in my plain TeX days. But the "don't indent that" code seems to > get confused if before= and after= values are given in the heading > setup. > > Below is a minimal example (using context 2006.07.24 10:49) showing that > the 'before' hairline is indented, and the "Indented?" text after the > 'after' hairline is indented. All is fine without the \setupindenting > or the \setuphead line. Is there an easy fix that I missed? I tried > throwing in \noindent into the before or after keys but no luck. I think that the command is \noindentation. > \setuphead[section][before={\hairline\blank},after={\nowhitespace\hairline}] Use instead \setuphead[section] [before={\noindentation\hairline\blank}, after={\nowhitespace\hairline\noindentation}] > \setupindenting[medium,yes] > > \starttext > \section{First} > Indented? > \stoptext Aditya