From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83281 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Possible bug with new \start ... \stop way for title, chapter, subject, etc.? Date: Sat, 29 Jun 2013 18:10:23 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372522242 32333 80.91.229.3 (29 Jun 2013 16:10:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 16:10:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 29 18:10:41 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UsxjV-0008VJ-27 for gctc-ntg-context-518@m.gmane.org; Sat, 29 Jun 2013 18:10:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52D79101EC; Sat, 29 Jun 2013 18:10:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cRI6VGqmiChl; Sat, 29 Jun 2013 18:10:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BFCE0101E6; Sat, 29 Jun 2013 18:10:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C8B0101E6 for ; Sat, 29 Jun 2013 18:10:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2kcny0wp+UTH for ; Sat, 29 Jun 2013 18:10:35 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 6BBF5101E5 for ; Sat, 29 Jun 2013 18:10:25 +0200 (CEST) Original-Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5TGAO73029962 for ; Sat, 29 Jun 2013 18:10:24 +0200 Original-Received: by mail-wi0-f173.google.com with SMTP id hq4so1779973wib.0 for ; Sat, 29 Jun 2013 09:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=V9xKVQj7OLX0V7yZzUv9jvO4ne2C/GfDijpEJ5HAZAA=; b=Fcb5Qtnvq7IONpT7D1Y8KIyXyKjMUuV3i/hEz+4eQXA5PgV3F6iCy2uz/K5x8NmH5m KJmEDZHiQ+H6S8rNRenPbKYkvJ9g0j00t4MVSapckojA9i5snpw4E7GJ4zSyalEbHD6f RN5B6VF4GrEQST71Pv5eLI1nd7ziJIll4IGdyAFUOWAqeXzTRYcpziJ+iY/mEqXHJsti wBMO1F7MqiVoaBh6GH1PYhQ5DsdZfUHf1sq7huRV9sDqUmDHWX5jugkJkGVFci8kDebt 34TvBjf9bSYOA6uMg67HlR1K4uG3171lOzxqs6PSydYc3vSDoZeDgbXwvuF23EStYyQV Awvw== X-Received: by 10.180.160.203 with SMTP id xm11mr6833562wib.58.1372522224509; Sat, 29 Jun 2013 09:10:24 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d073f2f.pool.mediaWays.net. [77.7.63.47]) by mx.google.com with ESMTPSA id c44sm17684058eeb.8.2013.06.29.09.10.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 29 Jun 2013 09:10:23 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JSgaoRa - de874f699dcd - 20130629 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83281 Archived-At: Am 29.06.2013 um 07:46 schrieb Andres Conrado Montoya : > I was trying to implement the solution provided by this thread: > http://www.mail-archive.com/ntg-context@ntg.nl/msg51152.html and it > works very well. However, finding a problem related to this > implementation, I found that the output of the new \start ... \stop > versions of the title, section, chapter, subject, etc. commands is > different from the old \title, \chapter, \subject, etc. > As you can see in the following MWE, the new implementation indents > the first paragraph of the given section, by some amount (even > different from the default for paragraphs). > = > Is this a bug or a new feature that I don't understand? It=92s a sometimes unwanted side effect of arguments for commands. Even though there are ways to avoid the space you can=92t add them because there are cases where you want the space. Below is a modified version of the older code which uses the new MkIV mechanism to create customized head layouts which gobbles also the space for \startsection. \defineheadalternative [head:inleftmargin] [alternative=3Dhorizontal, renderingsetup=3Dhead:inleftmargin] \startsetups[head:inleftmargin] \inleftmargin{\headtextcontent} \stopsetups \setuphead [section] [alternative=3Dhead:inleftmargin, style=3Dbold, color=3Dred, insidesection=3D\ignorespaces, distance=3D0pt] \showframe \starttext \section{Knuth} \input knuth \startsection[title=3D{Tufte}] \input knuth \stopsection \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________