From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74583 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: label in enumerations broken? Date: Sun, 19 Feb 2012 18:38:10 +0100 Message-ID: References: <5C0CC9D5-0CFB-4A59-8A8C-0C8EBB7E5BE8@imt.uni-luebeck.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329673117 12709 80.91.229.3 (19 Feb 2012 17:38:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2012 17:38:37 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 19 18:38:34 2012 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 1RzAiY-0003mp-DP for gctc-ntg-context-518@m.gmane.org; Sun, 19 Feb 2012 18:38:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9E19CB2C4; Sun, 19 Feb 2012 18:38:33 +0100 (CET) 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 lzQD72orfBU5; Sun, 19 Feb 2012 18:38:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3EB03CB2BB; Sun, 19 Feb 2012 18:38:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4516DCB2BB for ; Sun, 19 Feb 2012 18:38:29 +0100 (CET) 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 uOWM3p9fUXlN for ; Sun, 19 Feb 2012 18:38:15 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 7F35DCB2BA for ; Sun, 19 Feb 2012 18:38:15 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1JHcEUR015458 for ; Sun, 19 Feb 2012 18:38:14 +0100 Original-Received: by eekc13 with SMTP id c13so2336959eek.14 for ; Sun, 19 Feb 2012 09:38:14 -0800 (PST) Received-SPF: pass (google.com: domain of schuster.wolfgang@googlemail.com designates 10.14.48.77 as permitted sender) client-ip=10.14.48.77; Authentication-Results: mr.google.com; spf=pass (google.com: domain of schuster.wolfgang@googlemail.com designates 10.14.48.77 as permitted sender) smtp.mail=schuster.wolfgang@googlemail.com; dkim=pass header.i=schuster.wolfgang@googlemail.com Original-Received: from mr.google.com ([10.14.48.77]) by 10.14.48.77 with SMTP id u53mr9019412eeb.0.1329673094609 (num_hops = 1); Sun, 19 Feb 2012 09:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=nSeSP866JVtO2bK0yjyrmjj7kAmAyt2Lloy88vAp8uM=; b=PABfO9jdsynYtFtC6Yrd/6HgaxFmPR/91MrqF5ZYyI5PvU++btkDpuMZ1Dtn0ZHhOr +IrCzWwlBrmXz4FPwsaLNEymc8j4Gt6ksBM/wWkSsvTq7k8Mp4nz4kPN3OyeuJPQ2n1H fQxqudL7xUje4shwOJRfCtY7fT32schCRSm8M= Original-Received: by 10.14.48.77 with SMTP id u53mr7215415eeb.0.1329673094539; Sun, 19 Feb 2012 09:38:14 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFA5A7.dip.t-dialin.net. [87.175.165.167]) by mx.google.com with ESMTPS id z47sm67195782eeh.9.2012.02.19.09.38.11 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Feb 2012 09:38:13 -0800 (PST) In-Reply-To: <5C0CC9D5-0CFB-4A59-8A8C-0C8EBB7E5BE8@imt.uni-luebeck.de> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05GzRCel9 - 322c73337134 - 20120219 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:74583 Archived-At: Am 19.02.2012 um 14:47 schrieb Andreas Mang: > Dear all, > = > As I have learned from the mailing list, there have been some changes in = the enumeration / description environment. Did I miss something (i.e. has t= here also been a change in how to define the labels for the description / e= numeration?) I have attached my prefs, a minimal example and an error messa= ge. > = > Your help is very much appreciated. > = > Thanks in advance, > Andreas > = > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > % PREFS = > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > % ConTeXt ver: 2012.02.18 10:50 MKIV fmt: 2012.2.18 int: english/engli= sh > % LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) > = > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > % MINIMAL EXAMPLE = > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > \setupenumerations% > [% > alternative=3Dhanging,% > width=3Dbroad,% > headstyle=3Dbold,% > titlestyle=3Dbold,% = > ]% > = > \defineenumeration[mydefinition]% > [text=3DDefinition,% > style=3Ditalic,% > title=3Dyes,% > listtext=3D{Definition }% > ]% There is no need for all these comments. > \starttext > = > % \startmydefinition WITHOUT "[ref2mydef]" and/or the title "{The Definit= ion}" works fine > % note: I have added alternative instead of location as suggested in the = mailing list > % note: I have switched the title on and off and accordingly have also re= moved "The Definition" > = > \startmydefinition[ref2mydef]{The Definition} You can now write this as =93\startmydefinition[reference=3Dref2mydef,title= =3DThe Definition]=94 > Let something be defined. > = > \stopmydefinition > = > \stoptext strc-enu.mkvi (move \donothing before \strc_enumerations_inject_extra_text_= indeed): \unexpanded\def\strc_enumerations_inject_extra_text {\ifconditional\c_strc_constructions_title_state \ctxcommand{doiflisthastitleelse("\currentconstructionmain",\currentco= nstructionlistentry)} + \donothing \strc_enumerations_inject_extra_text_indeed - \donothing \fi} strc-des.mkvi: \unexpanded\def\strc_descriptions_start_yes_reference + {\ifconditional\c_strc_constructions_title_state - {\ifconditional\c_strc_descriptions_title_state \expandafter\strc_descriptions_start_yes_titled \else \expandafter\strc_descriptions_start_yes_normal \fi} 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 ___________________________________________________________________________= ________