From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100025 Path: news.gmane.org!.POSTED!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Latest beta: reference to items broken in mkiv Date: Wed, 7 Feb 2018 12:37:53 +0100 Message-ID: <66848D02-310F-4A56-A0BD-BFF8F1B60322@gmail.com> References: <5A7ACF03.9000800@gmail.com> <93B72061-2161-483F-AAE1-2F6657031A23@hccnet.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.9\)) Content-Type: multipart/mixed; boundary="===============2406110556893240972==" X-Trace: blaine.gmane.org 1518003440 24254 195.159.176.226 (7 Feb 2018 11:37:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Feb 2018 11:37:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 07 12:37:16 2018 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 1ejO29-0005CQ-Nw for gctc-ntg-context-518@m.gmane.org; Wed, 07 Feb 2018 12:37:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 30E03429A70; Wed, 7 Feb 2018 12:38:51 +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 vjNdzvjxTcBl; Wed, 7 Feb 2018 12:38:36 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 557F6429A69; Wed, 7 Feb 2018 12:38:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E2147429A69 for ; Wed, 7 Feb 2018 12:38:20 +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 oao8511EfInm for ; Wed, 7 Feb 2018 12:38:05 +0100 (CET) Original-Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (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 E7C37429A60 for ; Wed, 7 Feb 2018 12:37:55 +0100 (CET) Original-Received: by mail-wm0-f48.google.com with SMTP id v123so2699540wmd.5 for ; Wed, 07 Feb 2018 03:37:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=cM3yrfRM2t2QiE2Cl2s3jHX4ug2sTsdqjA73oRQ1GlE=; b=V7gWa0WK5iyhIKGZcgn1uOVQHE/CcVa+Jjpd3RJJ+8LfWCyqSj/k5Xekv+KJy5DQTs 8SVgspVfQaafjomU9eofo7PQ8clqzT2Hn0xwA5vEeALc+r04YsuNY424mfSmw3I/EOVf z69LaZVMRQPMuKzkR05ErBNL/hqEqFLtujoAqr29VGwY1B5bmsL2RaphFh3j6vbsRyxo nHPI6iV+cFN+lvFD4n5lH74OWIq3V5XHJt8p5OeYzlsn1BxLwRyO8QMMOOY6cMUp+rpR ni2IbQIhZdiytIanmU849DKoF42cHTJOKlSfkoWCxkLEoRbwklfiyv46JvgqE1rsc0hj P5aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=cM3yrfRM2t2QiE2Cl2s3jHX4ug2sTsdqjA73oRQ1GlE=; b=WhS9A36cOvpvP8gzKFnBSVVhqBwgr8sB7WH/2u34ga2+m6p/4WM0+y8XpcPEm+FiP1 AgfCjpSjRtxEjtQqltDCD79oOBpFnhjzSUbHiyZ+H7r1E8P6r+mvMEd0t39pGOtxumgC nKwsWMnVNmV12VE8vU6vSs0Fg12Xy7aIrC5z527q2tHWXfrUkis7z0gadzwKT2k9d6p8 BYAmePlPeLwHWYNPie1ScR/OtGxFSi9hhX4KKfrQeXjxuCu+GQbYmRMVd3yD8ccqbvll s3nlpr7DsjRdN+Yt/vZ6YN4o2IStf7tsVA9xmuy2OTLGs/lojNfqnoAGZ6V7Od6huUB8 qlVQ== X-Gm-Message-State: APf1xPAoKeP5flxoBU4V/jQffQLmMbu2FvQdHbOrDgW1T7D5GIm+IqH7 DT+DiPrMEBxIdadMjEpbw6hG8KxF X-Google-Smtp-Source: AH8x22528QjverYCXSLV1x4Wd+Wi2V7yqVu3/XeDh3iJ6vguy/GwJvnv5/cvz7TUoXW5fkRPlSmzkQ== X-Received: by 10.28.47.80 with SMTP id v77mr4316536wmv.23.1518003475259; Wed, 07 Feb 2018 03:37:55 -0800 (PST) Original-Received: from ?IPv6:2a01:e34:ec02:4760:609b:ef11:68:82fe? ([2a01:e34:ec02:4760:609b:ef11:68:82fe]) by smtp.gmail.com with ESMTPSA id 14sm1342970wry.95.2018.02.07.03.37.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 03:37:54 -0800 (PST) In-Reply-To: <93B72061-2161-483F-AAE1-2F6657031A23@hccnet.nl> X-Mailer: Apple Mail (2.3445.6.9) 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:100025 Archived-At: --===============2406110556893240972== Content-Type: multipart/alternative; boundary="Apple-Mail=_D68572A0-8FDF-481F-BD25-F16397E6E352" --Apple-Mail=_D68572A0-8FDF-481F-BD25-F16397E6E352 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Robert, I think the issue does not come from the version of Context you are = using but rather from a lack of formatting your itemgroups with the = keyword =C2=AB repeat =C2=BB. I guess what you want to obtain can be achieved with the following = example below. At least here with either versions of Context I have the = output is as expected. Best regards: OK %% begin repeat-subitem.tex \setupitemgroup[itemize][1][n,repeat][width=3D1em] \setupitemgroup[itemize][2][a,repeat][width=3D2em] \setupitemgroup[itemize][3][r][width=3D3em] \starttext=20 \startitemize[n] \item[ref:1] item 1 \startitemize =20 \startitem[ref:a] subitem a, reference a \stopitem \item [ref:b] item b \startitemize \item A sub-sub item \item[ref:subsub-B] Another sub-sub = item, B \stopitemize \startitem[ref:c] Item c, reference c \stopitem \stopitemize \startitem[ref:2] Item 2, reference 2 \stopitem \stopitemize \blank[big] See \in{Item}[ref:b], see also items \in[ref:2] and \in[ref:1] above, as = well as the \in{sub-sub item}[ref:subsub-B]. \stoptext %% end repeat-subitem.tex > On 7 Feb 2018, at 11:46, r.ermers@hccnet.nl wrote: >=20 > Hi Wolfgang, Otared and others, >=20 > I installed a new standalone: >=20 > mtx-context | main context file: = /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/co= ntext.mkiv > mtx-context | current version: 2018.02.06 18:11 >=20 > However, I do not manage to get it going. The minimal example = underneath gives the following result: > 1. item 1 > a. subitem a, reference a=20 >=20 > b. item b >=20 > c. Item c, reference c >=20 > 2. Item 2, reference 2=20 >=20 >=20 > See Item b, 2, 1 above.=20 >=20 > This should be:=20 >=20 > See Item 1b, 2, 1 above. >=20 > Regards, >=20 > Robert >=20 >=20 >=20 > \starttext=20 >=20 > \startitemize[n]\starttext=20 >=20 > \startitemize[n] > \item [ref:1] item 1 > \startitemize[a] > \startitem[ref:a] > subitem a, reference a > \stopitem > \item [ref:b] item b > \startitem[ref:c] > Item c, reference c > \stopitem > \stopitemize > \startitem[ref:2] > Item 2, reference 2 > \stopitem > \stopitemize >=20 > See \in{Item}[ref:b], \in[ref:2], \in[ref:1] above. >=20 >=20 > \stoptext >=20 >=20 >> Op 7 feb. 2018, om 11:03 heeft Wolfgang Schuster = > het = volgende geschreven: >>=20 >>=20 >>=20 >>> r.ermers@hccnet.nl 7. Februar 2018 um = 10:58 >>> Hi Otared, >>>=20 >>> Thanks for your response. In mkii this worked flawlessly. >>>=20 >>> I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not = work. Could this be because I have item [it:ref] rather than = \startitem[it:ref] =E2=80=A6 \stopitem? >>=20 >> It works for me with \item[] and \startitem[]. >>=20 >>=20 >> $ context --version >>=20 >> mtx-context | current version: 2018.02.06 18:11 >>=20 >>=20 >> Wolfgang >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_D68572A0-8FDF-481F-BD25-F16397E6E352 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Robert,

I think the = issue does not come from the version of Context you are using but rather = from a lack of formatting your itemgroups with the keyword =C2=AB repeat = =C2=BB.

I = guess what you want to obtain can be achieved with the following example = below. At least here with either versions of Context I have the output = is as expected.

Best regards: OK

%% begin repeat-subitem.tex
\setupitemgroup[itemize][1][n,repeat][width=3D1em]
\setupitemgroup[itemize][2][a,repeat][width=3D2em]
\setupitemgroup[itemize][3][r][width=3D3em]

\starttext 

\startitemize[n]
\item[ref:1] item = 1
\startitemize  
= \startitem[ref:a]
= subitem a, reference a
= \stopitem
\item [ref:b] item = b
= \startitemize
\item A = sub-sub item
= \item[ref:subsub-B] Another sub-sub item, B
= \stopitemize
= \startitem[ref:c]
= Item c, reference c
= \stopitem
\stopitemize
= \startitem[ref:2]
= Item 2, reference 2
= \stopitem

\stopitemize
\blank[big]

See \in{Item}[ref:b], = see also items \in[ref:2] and \in[ref:1] above, as well as the = \in{sub-sub item}[ref:subsub-B].

\stoptext
%% = end repeat-subitem.tex



On 7 Feb 2018, at 11:46, r.ermers@hccnet.nl = wrote:

Hi = Wolfgang, Otared and others,

I installed a new standalone:

mtx-context     | main context file: = /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/co= ntext.mkiv
mtx-context     | current version: 2018.02.06 = 18:11

However, I do not manage to get it going. The minimal example = underneath gives the following result:
=09 =09 =09

1. = item 1
a. subitem a, reference a 

b. item = b

c. Item c, reference c

2. Item 2, reference = 2 

=09 =09 =09

See = Item b, 2, 1 above. 

This should be: 

See Item 1b, 2, 1 = above.

Regards,

Robert



\starttext 

\startitemize[n]\starttext 

\startitemize[n]
\item [ref:1] item 1
\startitemize[a]
\startitem[ref:a]
subitem a, reference = a
\stopitem
\item [ref:b] item = b
\startitem[ref:c]
Item c, = reference c
\stopitem
\stopitemize
\startitem[ref:2]
Item 2, reference 2
\stopitem
\stopitemize

See \in{Item}[ref:b], \in[ref:2], \in[ref:1] above.


\stoptext


Op 7 = feb. 2018, om 11:03 heeft Wolfgang Schuster <schuster.wolfgang@gmail.com> het volgende = geschreven:



7.=20 Februar 2018 um 10:58
Hi= Otared,

Thanks = for your response. In=20 mkii this worked flawlessly.

I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not work. Could this=20= be because I have item [it:ref] rather than \startitem[it:ref] =E2=80=A6=20= \stopitem?

It works for me with \item[<reference>] and=20 \startitem[<reference>].


$ context --version

mtx-context     | current version: 2018.02.06 = 18:11


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://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
_______________________________________________________________= ____________________

= --Apple-Mail=_D68572A0-8FDF-481F-BD25-F16397E6E352-- --===============2406110556893240972== 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 --===============2406110556893240972==--