From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30050 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: indenting after section headings with before, after keyvals Date: Sun, 06 Aug 2006 19:37:34 -0400 Message-ID: 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 1154907478 24997 80.91.229.2 (6 Aug 2006 23:37:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2006 23:37:58 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 07 01:37:53 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 1G9sBr-0007Dk-5L for gctc-ntg-context-518@m.gmane.org; Mon, 07 Aug 2006 01:37:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85BC21FFF9; Mon, 7 Aug 2006 01:37:50 +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 28525-01; Mon, 7 Aug 2006 01:37:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 639D61FFF5; Mon, 7 Aug 2006 01:37:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 58DA21FFF5 for ; Mon, 7 Aug 2006 01:37:44 +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 26311-05 for ; Mon, 7 Aug 2006 01:37:42 +0200 (CEST) Original-Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by ronja.ntg.nl (Postfix) with SMTP id 17EE01FFC6 for ; Mon, 7 Aug 2006 01:37:41 +0200 (CEST) Original-Received: from [24.41.6.91] (helo=approximate.corpus.cam.ac.uk) by elasmtp-kukur.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1G9sBg-0006Rb-Jc; Sun, 06 Aug 2006 19:37:40 -0400 Original-Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 4.60) (envelope-from ) id 1G9sBa-00049d-On; Sun, 06 Aug 2006 19:37:34 -0400 Original-To: ntg-context@ntg.nl X-Mailer: MH-E 7.85; nmh 1.1; GNU Emacs 21.4.1 X-ELNK-Trace: dcd19350f30646cc26f3bd1b5f75c9f474bf435c0eb9d4784c5237a09956e405f2de667213ed78d4e330c30f2cfa0e66350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.41.6.91 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:30050 Archived-At: 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. \setuphead[section][before={\hairline\blank},after={\nowhitespace\hairline}] \setupindenting[medium,yes] \starttext \section{First} Indented? \stoptext