From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100028 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 14:53:17 +0100 Message-ID: <639A7CE6-7A42-4AEE-807C-773296350449@gmail.com> References: <5A7ACF03.9000800@gmail.com> <93B72061-2161-483F-AAE1-2F6657031A23@hccnet.nl> <66848D02-310F-4A56-A0BD-BFF8F1B60322@gmail.com> <2DFB2DBA-42B0-4AA1-BBCA-A0155E299F15@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="===============6499480938610690828==" X-Trace: blaine.gmane.org 1518011567 31690 195.159.176.226 (7 Feb 2018 13:52:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Feb 2018 13:52:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 07 14:52:43 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 1ejQ8y-0006Ue-IQ for gctc-ntg-context-518@m.gmane.org; Wed, 07 Feb 2018 14:52:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5FD5042981A; Wed, 7 Feb 2018 14:54:04 +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 la2YgxyEoWL3; Wed, 7 Feb 2018 14:53:48 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 923114297D0; Wed, 7 Feb 2018 14:53:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 136604297D0 for ; Wed, 7 Feb 2018 14:53:45 +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 Jg6bFmz5viXb for ; Wed, 7 Feb 2018 14:53:29 +0100 (CET) Original-Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) (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 AF1544297BE for ; Wed, 7 Feb 2018 14:53:19 +0100 (CET) Original-Received: by mail-wm0-f49.google.com with SMTP id 143so3261214wma.5 for ; Wed, 07 Feb 2018 05:53:19 -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=qVwNHDBJ3YNCa2pBoHqVlfta4vX4PacKE/XDK6nZsGY=; b=VF67kj+npuF6Hv2RiDfi/I8csd3OH0iBwGWvDcetOqYBSq2wzXJOhfxfGngJaWrLkK lP6eJMtOMXEcW6HbcCvn9XJAMmO429Q2oamLiBPp//nbWjatbvGZp5ZlYYPpslVMO5Vg vohOJW3MlYAeJb+ZbsHe3ke0hPD7jbhBMJhNqCxsxHdvoNcTwyKgNkg+OyS+WIw+y+Sq CwfR7EdLq8ZFV+HBIMjnHU+5IfSVNy4RVKloNVtyf3jM1NDw15bcuNX0RYCto/3Jmqir hcXoJB9ojVAr9uXMj6H3eM1kNbVKolLlCh2ngsLyxmDJPVai3BK7Svz4jRxSfgwh/sQZ eo5g== 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=qVwNHDBJ3YNCa2pBoHqVlfta4vX4PacKE/XDK6nZsGY=; b=lD4YKb4qKd0PoyxNsRXregSGXweqS0qA8m50D+mP9yc/+fn95in4LwL/1wNEesxKt4 8tQTKzpFuqoSwr1hxZ/l7DdEeTEBb30UHvNc2I+CSDpJJO6HgFcbDl0DLxEc0yW0gK7p +6j1P2Gcon52xuAn7Y8fMbRGLJ5w201inWwFQA0lFoV5c6QfWAK5KF1ndzC8656bQVu1 16lUum2RL61liO7f1QmMI8rjp/xdVBlqDfcpbImyBuH3fCdee4AYEfVBImW0qLuIS5qJ Yks028fr9VwPGVFPZGvMAzJHA8inKqHbn8WnySilic4xzBh3W1gIPYulxeEo4BV5U6Nb vKjw== X-Gm-Message-State: APf1xPDTEoH+gTfhgkQZBkZLmDtLX1bhPx1VZ5hX+cYHGnDLC+LYCSaw QrJtzC68zcmzFjuVcl1ZJAd7HLUj X-Google-Smtp-Source: AH8x224E4GhbpMOQZGRVZOxf7hqJSjZzbg4RAH+o5v5nxarlTVQX0QtEwJMsg7AFhLcqinoElvI0iQ== X-Received: by 10.80.173.110 with SMTP id z43mr8488176edc.305.1518011598998; Wed, 07 Feb 2018 05:53:18 -0800 (PST) Original-Received: from ?IPv6:2a01:e34:ec02:4760:5dd1:9e5f:c02d:868b? ([2a01:e34:ec02:4760:5dd1:9e5f:c02d:868b]) by smtp.gmail.com with ESMTPSA id g7sm1159645edf.76.2018.02.07.05.53.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 05:53:18 -0800 (PST) In-Reply-To: <2DFB2DBA-42B0-4AA1-BBCA-A0155E299F15@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:100028 Archived-At: --===============6499480938610690828== Content-Type: multipart/alternative; boundary="Apple-Mail=_E543E041-D288-4203-BFCD-AE90128D9781" --Apple-Mail=_E543E041-D288-4203-BFCD-AE90128D9781 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Robert, Again I answered too quickly=E2=80=A6 excuse-me! If you want to have the subitems appear without the prefix, but = references to them contain the number of the item where they appear, I = don=E2=80=99t know how to do it. My previous message addresses only the separators between the numbers of = the items and subitems. Sorry=E2=80=A6 but my belief is that in ConTeXt everything is possible, = even if I don=E2=80=99t know how to do it :-) Best regards: OK > On 7 Feb 2018, at 12:56, r.ermers@hccnet.nl wrote: >=20 > Hi Otared, >=20 > Thanks, the solution works to some extend. It yields the following = output. >=20 > 1. item 1 >=20 > 1.a. subitem a, reference a >=20 > 1.b. item b >=20 > 1.b.i. A sub-sub item >=20 > 1.b.ii. Another sub-sub item, B 1.c. Item c, reference c >=20 > 2. Item 2, reference 2 >=20 > See Item 1.b, see also items 2 and 1 above, as well as the sub-sub = item 1.b.ii.=20 >=20 >=20 > Yet the output I am looking for, and which I had in mkii, is: > 1. item 1 >=20 > a. subitem a, reference a >=20 > b. item b >=20 > i. A sub-sub item >=20 > ii. Another sub-sub item, B 1.c. Item c, reference c >=20 > 2. Item 2, reference 2 >=20 >=20 > See Item 1.b / 1b, see also items 2 and 1 above, as well as the = sub-sub item 1.b.ii / 1bii.=20 >=20 >=20 > Is this possible? >=20 > Regards, >=20 > Robert >=20 >=20 >=20 >=20 >> Op 7 feb. 2018, om 12:37 heeft Otared Kavian > het volgende geschreven: >>=20 >> Hi Robert, >>=20 >> 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. >>=20 >> 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. >>=20 >> Best regards: OK >>=20 >> %% begin repeat-subitem.tex >> \setupitemgroup[itemize][1][n,repeat][width=3D1em] >> \setupitemgroup[itemize][2][a,repeat][width=3D2em] >> \setupitemgroup[itemize][3][r][width=3D3em] >>=20 >> \starttext=20 >>=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 >>=20 >> \stopitemize >> \blank[big] >>=20 >> 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]. >>=20 >> \stoptext >> %% end repeat-subitem.tex >>=20 >>=20 >>=20 >>> 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 >>> = __________________________________________________________________________= _________ >>=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 >> = __________________________________________________________________________= _________ >=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=_E543E041-D288-4203-BFCD-AE90128D9781 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Robert,

Again I = answered too quickly=E2=80=A6 excuse-me!
If you = want to have the subitems appear without the prefix, but references to = them contain the number of the item where they appear, I don=E2=80=99= t know how to do it.
My previous message = addresses only the separators between the numbers of the items and = subitems.
Sorry=E2=80=A6 but my belief is that in = ConTeXt everything is possible, even if I don=E2=80=99t know how to do = it :-)

Best = regards: OK

On 7 Feb 2018, at 12:56, r.ermers@hccnet.nl = wrote:

Hi = Otared,

Thanks, = the solution works to some extend. It yields the following = output.

=09 =09 =09

1. = item 1

  1. 1.a.  subitem a, reference a

  2. 1.b.  item b

= 1.b.i. A sub-sub item

1.b.ii. Another sub-sub = item, B 1.c. Item c, reference c

2. Item 2, reference 2

See Item 1.b, see also items 2 and 1 above, as = well as the sub-sub item 1.b.ii. 


Yet the output I am looking for, and which I had in mkii, = is:
=09 =09 =09

1. = item 1

  1. a.  subitem a, reference = a

  2. b.  item b

= i. A sub-sub item

ii. = Another sub-sub item, B 1.c. Item c, reference c

2. Item 2, reference 2


See Item 1.b / 1b, see also items 2 and 1 above, as = well as the sub-sub item 1.b.ii / 1bii

=

Is this possible?

Regards,

Robert




Op 7 feb. 2018, om 12:37 heeft Otared Kavian <otared@gmail.com> het = volgende geschreven:

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

___________________________________________________= ________________________________
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=_E543E041-D288-4203-BFCD-AE90128D9781-- --===============6499480938610690828== 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 --===============6499480938610690828==--