From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97188 Path: news.gmane.org!.POSTED!not-for-mail From: Lawrence Bell Newsgroups: gmane.comp.tex.context Subject: nested itemgroups sometimes not working Date: Wed, 1 Feb 2017 15:43:20 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1703349334808078487==" X-Trace: blaine.gmane.org 1485963864 9237 195.159.176.226 (1 Feb 2017 15:44:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2017 15:44:24 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 01 16:44:15 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 1cYx4w-00021U-UU for gctc-ntg-context-518@m.gmane.org; Wed, 01 Feb 2017 16:44:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A5F063C5; Wed, 1 Feb 2017 16:43:54 +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 uFVau6C1ucxj; Wed, 1 Feb 2017 16:43:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id C060E3D1; Wed, 1 Feb 2017 16:43:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BB4443A2 for ; Wed, 1 Feb 2017 16:43:52 +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 zl84HjpEHMNT for ; Wed, 1 Feb 2017 16:43:51 +0100 (CET) Original-Received: from mail-wj0-f171.google.com (mail-wj0-f171.google.com [209.85.210.171]) (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 C18FE340 for ; Wed, 1 Feb 2017 16:43:41 +0100 (CET) Original-Received: by mail-wj0-f171.google.com with SMTP id n2so21795699wjq.3 for ; Wed, 01 Feb 2017 07:43:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=sMYbYjuhRYEMenFfYnzo6sYmQJobJ3Dlqq+wW+E4nDE=; b=t9Vbp307Lb9yN+vjtMGQacAmecljXOqjt/OFLllWtvmOB0QLaSn76x/+HMTnIEB+u5 KfAeN9+MpeZE13hMSM7krWym6aFfOhyAatP8zTx4mSVswD99l6TPshrcJYb/BLQ63P6P jrxyEbde5yve/Iv6prTk+znheh/UGlBlgSTYTWFtQubEVivUbm2sp2wKXSXxRHQ66zyh alr4pNMPsmnd9nScrqcqmGWfH3aD63PTCYzoMPXeFrg+y1ejoY/3kNGObpwvYe3DtzA7 oMGIlSCfS9JfleA85t348ElAQDMuahorZ+lQSBH/SYkTk5HrI/YoSlQH7dntEap+YtjF +ZDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sMYbYjuhRYEMenFfYnzo6sYmQJobJ3Dlqq+wW+E4nDE=; b=mwR6nXKNGHoab0AoKMkAib17bKvYNX9VrGVELyxfJABdjE7swteGYW6zaQ1UvJ1zqO FcpAGi3gSSe1RLHOYb8t0PW7K7ljJ57FJhcME5B/xH6frknwvqzRzIhZrtJkzZ/6ToHq buIDLGrjMJR+ZKpYP/8McTLdQ+ITC/rGB1u2Ft2l4XnoepHw8v1ZMItEx8Rbrp9BWDdo S62g+M6A7F+A/yD3/R61+/SHxHylphEcBVVBWXG3wBgCC8h7/qNT2PZ+l74r2TgRz3Up pKI6Jv9S5iQTPqOxHxJw/PhDkZTDv7oRZY8cRfPxzxZIhOVivQkGhU3dEIoC5R/Uh1hD AGuw== X-Gm-Message-State: AIkVDXK4RD+sP5X2DXi3THm0sV4SeY5RWYugL1qUTctFUHIa58b3r+g5/A6z4D/VUjVBg1HVsOAc6Cht/4/LMQ== X-Received: by 10.223.177.136 with SMTP id q8mr3178016wra.134.1485963821262; Wed, 01 Feb 2017 07:43:41 -0800 (PST) Original-Received: by 10.80.136.25 with HTTP; Wed, 1 Feb 2017 07:43:20 -0800 (PST) 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:97188 Archived-At: --===============1703349334808078487== Content-Type: multipart/alternative; boundary=f403045e6ff8b73c4e054779e94e --f403045e6ff8b73c4e054779e94e Content-Type: text/plain; charset=UTF-8 I'm having some difficulties with nested itemgroups. I've produced a minimal working example as follows. \defineitemgroup [test] [symbol=n] \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! --f403045e6ff8b73c4e054779e94e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm having some difficulties with nested itemgrou= ps. I've produced a minimal working example as follows.
<= br>
\defineitemgroup
=C2=A0 [test= ] [symbol=3Dn]

\starttex= t

% \startitemgroup=
% =C2=A0 \startitem
% =C2=A0 =C2=A0 \= startitemgroup[test]
% =C2=A0 =C2=A0 =C2=A0 \startite= m
% =C2=A0 =C2=A0 =C2=A0 =C2=A0 ...
= % =C2=A0 =C2=A0 =C2=A0 \stopitem
% =C2=A0 =C2=A0= \stopitemgroup
% =C2=A0 \stopitem
= % \stopitemgroup

\sta= rtitemgroup
=C2=A0 \startitem
= =C2=A0 =C2=A0 \startitemgroup
=C2=A0 =C2=A0 =C2=A0 \s= tartitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Lorem ipsum
=C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitemgroup[test]<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dolor sit amet,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \stopitem
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitem
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 consectetur adipisicing elit.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \stopitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 \stopitemgroup
=C2=A0 =C2=A0 =C2=A0 \stopitem
=C2=A0 =C2=A0 \stopit= emgroup
=C2=A0 \stopitem
\stop= itemgroup

\stoptext=

I would expect items in the [test] itemgroup to be numbered 1, 2 but instea= d 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 ma= tter!
--f403045e6ff8b73c4e054779e94e-- --===============1703349334808078487== 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 --===============1703349334808078487==--