From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87954 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: indenting in enumerations in mkiv Date: Wed, 2 Jul 2014 13:48:07 +0200 Message-ID: <3261C7F4-97E4-4F23-B4CD-B3DFF81CD811@gmail.com> References: <1404220962.5977.0@smtp.ziggo.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1404302088 32283 80.91.229.3 (2 Jul 2014 11:54:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 11:54:48 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 02 13:54:43 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2J7a-0006NS-S9 for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jul 2014 13:54:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E4121029B for ; Wed, 2 Jul 2014 13:54:42 +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 sTNiSDAkilHL for ; Wed, 2 Jul 2014 13:54:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BD5F410223 for ; Wed, 2 Jul 2014 13:54:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 162B3101E7 for ; Wed, 2 Jul 2014 13:54:31 +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 yQ2u-QO5+0vi for ; Wed, 2 Jul 2014 13:54:27 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 09670101E6 for ; Wed, 2 Jul 2014 13:54:21 +0200 (CEST) Original-Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s62BsKdp012771 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 2 Jul 2014 13:54:21 +0200 Original-Received: by mail-wi0-f176.google.com with SMTP id n3so9476548wiv.9 for ; Wed, 02 Jul 2014 04:54:20 -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:cc :content-transfer-encoding:message-id:references:to; bh=fa+QswNqQcKuxYjyO2VMEL9lcr+X37WoDpv1RWdixPE=; b=cOXHUXGNowojoqEyi3xV6xaFVkz4o81r4XcuggRSbVg1mlaHUSK+SYvtJsgeaRzfU+ BB92IqbYzd4I3zL6oroD+I79T0D8i/nN+KIGxUMqLPATey6RZu9Bqm54tWg98fNRxtLB sZu1Blusu9561CXcCPcWtIV7O3Hc9Dlwwux7BZJZyaBT6bjHnDO7ZhPnc+k0KXXpgmdi WrDO+1jLcztqxb+g5ZNkprKg1I8Iow9ehuBIRMA3ZjzwnM/h6okbyn1+rQZF2fXHre0U OBM34uB8hISuvmb6pZoTZHiyL6Kd4YkzfRfWXPPjQ1JzHXYBXqppQZsVB37zG0M2SKPC isvQ== X-Received: by 10.194.71.12 with SMTP id q12mr59328477wju.5.1404301691445; Wed, 02 Jul 2014 04:48:11 -0700 (PDT) Original-Received: from keima.localdomain (x2f378a8.dyn.telefonica.de. [2.243.120.168]) by mx.google.com with ESMTPSA id k19sm54350861wie.20.2014.07.02.04.48.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 04:48:09 -0700 (PDT) In-Reply-To: <1404220962.5977.0@smtp.ziggo.nl> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03MlnSlHC - bfc5de20b82e - 20140702 (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:87954 Archived-At: Am 01.07.2014 um 15:22 schrieb Sytse : > Within the enumeration environment I want the first paragraph not to be indented, whereas the second and following paragraphs should start with an indent. > > The example below works fine in mkii, but I would like to use mkiv in which the first line is also indented. > > Sytse > ------ > \defineenumeration[example][text=Example,indenting={yes,medium,next}] > \starttext > contextversion: 2013.05.28 00:36 > > command: context proef.tex > > \startexample > This first line is indented, but shouldn't. Runs ok under mkii. > > This second line should be indented and is ok under both mkii and mkiv. > \stopexample > > \stoptext This is a bug in the enumeration code where the indent setup is used before the title/head is placed which is then handled as first paragraph. To fix this the \indenting command has to be moved after the \directsetup line in strc-con.mkvi: \unexpanded\setvalue{\??constructionstarthandler\v!construction}% this will be redone (reorganized) .. too much boxing {\dostarttagged\t!construction\currentconstruction ... \edef\p_strc_constructions_indenting{\constructionparameter\c!indenting}% \ifx\p_strc_constructions_indenting\empty \else \indenting[\p_strc_constructions_indenting]% \use... \fi ... \directsetup\p_strc_constructions_renderingsetup\relax % \dostoptagged % tag \dostarttagged\t!constructioncontent\empty \ignorespaces} % args not needed Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________