From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97190 Path: news.gmane.org!.POSTED!not-for-mail From: Lawrence Bell Newsgroups: gmane.comp.tex.context Subject: Re: nested itemgroups sometimes not working Date: Wed, 1 Feb 2017 17:59:24 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7301230865866750657==" X-Trace: blaine.gmane.org 1485972033 1740 195.159.176.226 (1 Feb 2017 18:00:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2017 18:00:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 01 19:00:29 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYzCm-0000DU-FJ for gctc-ntg-context-518@m.gmane.org; Wed, 01 Feb 2017 19:00:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5F7541010B2; Wed, 1 Feb 2017 19:00:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uKCt9Q4llH-I; Wed, 1 Feb 2017 19:00:09 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 06AC510104A; Wed, 1 Feb 2017 19:00:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0E349101083 for ; Wed, 1 Feb 2017 19:00:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GjxpYOdffiJX for ; Wed, 1 Feb 2017 18:59:55 +0100 (CET) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7F40F10101E for ; Wed, 1 Feb 2017 18:59:45 +0100 (CET) Original-Received: by mail-wm0-f52.google.com with SMTP id b65so50568001wmf.0 for ; Wed, 01 Feb 2017 09:59:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=YTe7SERq+kj5URY1xKHNcG5LKUDo5MeFKtzMf6p3gug=; b=LsYdCJamezDVCl9dRrlklp19sTHi1m7ChkBy01ZveL0NhEeXYP/rVSSOK0+eaRwXUE u5LFCLPa4wQadYhRUqrc8f4ScPZS2Cb7pjaqTITvF7V+wpiNctLGp6TaUV97y/ZJx75/ 9HUmHdPBAmUdtQug2jbNMXFUUE4eGsvODGE3B2tkPC0iatqFct4Ut6/Iv+eZuZctCNpW 9UcYO+9MlrLj23D8yxIfzb8BFYmaLZtBKS7bzO4yxiCq0kpsHl/kw22dta/+CnOxsSxB OdJVDq3VRzVwWY8xBkW5VYN38p8Gd/1+wi4nx6mQ/71aecAuzEad2UWmdTnshVw1R9In NLfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=YTe7SERq+kj5URY1xKHNcG5LKUDo5MeFKtzMf6p3gug=; b=GyhESz6mWQe0yymJfCKFLI2BecqZe+Y0r3J4otcBRlo+qHHPJwfXEXu/P+zDkCHCUX ROHkVRWNVIDlpDwOd6vq6Hh1Yr3y5g7R1ZD6NY8FBk719V5E7VLUhA0DHgKsxh8U2tjx cxY07LeLywKAB5oFxj0kW4BCC8QglrlQucJKSWS4NZU7u2I8K00aBJekOlonsNsgKCPT ovxgNs/NOrSmi81lkVXmSn7H28MvUqdZIRxJjdv9hV81uOBPPP0Fu1yGKtP75obaiaVV z1DGGH7JWFi72ziE2wjxSC0lT+7JJJeOA9Vnmyb8pV1zUFte/IT/A/eZpIvGi7eLMIek OWnQ== X-Gm-Message-State: AIkVDXKeL6SjPNm0hK3WVGCRlvswQSI6Fce5H0Yl7y2w6wlAeewJyZEeQ68vw9wX3RKBI/Y50hgt5HdFz3XfMA== X-Received: by 10.223.177.136 with SMTP id q8mr3721207wra.134.1485971984636; Wed, 01 Feb 2017 09:59:44 -0800 (PST) Original-Received: by 10.80.136.25 with HTTP; Wed, 1 Feb 2017 09:59:24 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:97190 Archived-At: --===============7301230865866750657== Content-Type: multipart/alternative; boundary=f403045e6ff84a644105477bd05a --f403045e6ff84a644105477bd05a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah, I see. Thanks for the response. On Wed, Feb 1, 2017 at 4:51 PM, Henri Menke wrote: > It=E2=80=99s a known bug: > https://mailman.ntg.nl/pipermail/ntg-context/2016/086926.html > > You can always test your code with latest standalone on > http://live.contextgarden.net/ > > On 02/01/2017 04:43 PM, Lawrence Bell wrote: > > I'm having some difficulties with nested itemgroups. I've produced a > > minimal working example as follows. > > > > \defineitemgroup > > [test] [symbol=3Dn] > > > > \starttext > > > > % \startitemgroup > > % \startitem > > % \startitemgroup[test] > > % \startitem > > % ... > > % \stopitem > > % \stopitemgroup > > % \stopitem > > % \stopitemgroup > > > > \startitemgroup > > \startitem > > \startitemgroup > > \startitem > > Lorem ipsum > > \startitemgroup[test] > > \startitem > > dolor sit amet, > > \stopitem > > \startitem > > consectetur adipisicing elit. > > \stopitem > > \stopitemgroup > > \stopitem > > \stopitemgroup > > \stopitem > > \stopitemgroup > > > > \stoptext > > > > I would expect items in the [test] itemgroup to be numbered 1, 2 but > > instead they are both 0. I have also found out that, bizarrely, > > uncommenting the first itemgroup fixes the issue. This is the behaviour > > I get on the TeXLive 2016 version of ConTeXt, I don't have the latest > > minimals installed to test. > > > > Thanks in advance for any help with this matter! > > > > > > ____________________________________________________________ > _______________________ > > 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://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > ____________________________________________________________ > _______________________ > > > > ____________________________________________________________ > _______________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ --f403045e6ff84a644105477bd05a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ah, I see. Thanks for the response.

On Wed, Feb 1, 2017 at 4:51 PM, He= nri Menke <henrimenke@gmail.com> wrote:
It=E2=80=99s a known bug:
https://mailman.ntg.nl/pipermail/n= tg-context/2016/086926.html

You can always test your code with latest standalone on
http://live.contextgarden.net/

On 02/01/2017 04:43 PM, Lawrence Bell wrote:
> I'm having some difficulties with nested itemgroups. I've prod= uced a
> minimal working example as follows.
>
> \defineitemgroup
>=C2=A0 =C2=A0[test] [symbol=3Dn]
>
> \starttext
>
> % \startitemgroup
> %=C2=A0 =C2=A0\startitem
> %=C2=A0 =C2=A0 =C2=A0\startitemgroup[test]
> %=C2=A0 =C2=A0 =C2=A0 =C2=A0\startitem
> %=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0...
> %=C2=A0 =C2=A0 =C2=A0 =C2=A0\stopitem
> %=C2=A0 =C2=A0 =C2=A0\stopitemgroup
> %=C2=A0 =C2=A0\stopitem
> % \stopitemgroup
>
> \startitemgroup
>=C2=A0 =C2=A0\startitem
>=C2=A0 =C2=A0 =C2=A0\startitemgroup
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\startitem
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Lorem ipsum
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startitemgroup[test]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startitem
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dolor sit amet,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopitem
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startitem
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0consectetur adipisicing= elit.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopitem
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopitemgroup
>=C2=A0 =C2=A0 =C2=A0 =C2=A0\stopitem
>=C2=A0 =C2=A0 =C2=A0\stopitemgroup
>=C2=A0 =C2=A0\stopitem
> \stopitemgroup
>
> \stoptext
>
> I would expect items in the [test] itemgroup to be numbered 1, 2 but > instead they are both 0. I have also found out that, bizarrely,
> uncommenting the first itemgroup fixes the issue. This is the behaviou= r
> I get on the TeXLive 2016 version of ConTeXt, I don't have the lat= est
> minimals installed to test.
>
> Thanks in advance for any help with this matter!
>
>
> _____________________________________________________= ______________________________
> 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-contex= t
> webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.ne= t
> archive=C2=A0 : https://bitbucket.org/phg/context-mirror/commits/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ____________________________________________________________= _______________________
>

_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--f403045e6ff84a644105477bd05a-- --===============7301230865866750657== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============7301230865866750657==--