From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100026 Path: news.gmane.org!.POSTED!not-for-mail From: r.ermers@hccnet.nl Newsgroups: gmane.comp.tex.context Subject: Re: Latest beta: reference to items broken in mkiv Date: Wed, 7 Feb 2018 12:56:24 +0100 Message-ID: <2DFB2DBA-42B0-4AA1-BBCA-A0155E299F15@hccnet.nl> References: <5A7ACF03.9000800@gmail.com> <93B72061-2161-483F-AAE1-2F6657031A23@hccnet.nl> <66848D02-310F-4A56-A0BD-BFF8F1B60322@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Content-Type: multipart/mixed; boundary="===============4104166344714748306==" X-Trace: blaine.gmane.org 1518004542 10749 195.159.176.226 (7 Feb 2018 11:55:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Feb 2018 11:55:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 07 12:55:37 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 1ejOJg-0000ru-Tt for gctc-ntg-context-518@m.gmane.org; Wed, 07 Feb 2018 12:55:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5137E426D8C; Wed, 7 Feb 2018 12:57:07 +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 EGY2BMYYnlnA; Wed, 7 Feb 2018 12:56:51 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id DB3AC42662A; Wed, 7 Feb 2018 12:56:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9576E42662A for ; Wed, 7 Feb 2018 12:56:50 +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 nLiHG7uysR3F for ; Wed, 7 Feb 2018 12:56:35 +0100 (CET) Original-Received: from cpsmtpb-ews01.kpnxchange.com (cpsmtpb-ews01.kpnxchange.com [213.75.39.4]) by zapf.ntg.nl (Postfix) with ESMTP id 9B9E242659E for ; Wed, 7 Feb 2018 12:56:25 +0100 (CET) Original-Received: from cpsps-ews21.kpnxchange.com ([10.94.84.187]) by cpsmtpb-ews01.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 7 Feb 2018 12:56:25 +0100 X-KPN-SpamVerdict: BM:Clean; X-Brightmail-Tracker: H4sIAAAAAAAAC+NgFvrHKsWRWlGSWpSXmKPExsVyuJJZQjfz ZVWUwdszc56yWKydv4jJgdHj2KrFjAGMUayZeUn5FQmsGaffbmUuWLabseJ580LmBsZTix m7GLk4hASWMkr8u/yJqYuRk4NZIEni9K5nrCAJFoFOZonfBy+zQFRtYZRY/+AjM0gVm4CE xOpn7xhBbF4BE4n3bx+CdQsLeEqsmrwRLM4ioCIxeVMPzAomiQdz/oIViQiYS3Q/bwJawc HBKWAr8WGrJ8QcG4nF176ygNgSAkoS07/fZgOxhQTkJW4//QgVD5ZYeXEZ6wRG/llIjp2F 5AyIuLbEsoWvmSFsTYn93ctZMMU1JDq/TWRdwMi2ilEiuaC4oFg3tbzYyFAvuyAPyNDLyU 9OzNnECAzdq94a7jsYT+yIPcRoysGkJMr7eGFVlBBfUn5KZUZicUZ8UWlOarGSFO+eDQ5R QsJw4eLSpNzM4uLM/LxDjNYcHEoSvEYvgPoEi1LTUyvSMnOA0QfVKst7gtMgUkgMWQZZtz EHj5II7wGQbt7igsTc4sx0qE5JiE4hmChC1ynGcI4tj162MXMcAJM3XrxuYxZiycvPS5US 5739HGiWAEhXRmke3CFSMrysc4ESokgSCBNBCc2uufbvLUYxjodMHI+ZoKYBhRmAwIDxFa MhB6OSMO8SkEN5MvNKEO6U4JVWKwD6HSqIMPQV0HNMQM/dCKoEea4ksQSL56CiCF1SDYxz oisLTrCcXvvudHzdo7ufk6IOMml7Xuv33CT/e3EBk+6cTXpbXSvq30ge+z1PSs0wfYJcSJ aOC0t/VOnPRMX8Wc25y/zXJxVNEjWYsCyFVV Original-Received: from CPSMTPM-CMT108.kpnxchange.com ([195.121.3.24]) by cpsps-ews21.kpnxchange.com with Microsoft SMTPSVC(8.5.9600.16384); Wed, 7 Feb 2018 12:56:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; d=kpnmail.nl; s=kpnmail01; c=relaxed/relaxed; t=1518004584; h=mime-version:date:message-id:subject:from:to:content-type; bh=bpYydm+N7QxASL3ahvEXlTZuWfuef2dXT+KVfqNyYeE=; b=B1e+tYk96701uHQzsaeEQ1S2/Tz66LxOs1tiZYHBcqtDg5zfOCWmMpG/a13EtHdDnr1v1GEX7ra fGwUTP/3MuSIwlu7VQsHHU6hJmwV73DClAgkVc8fzS6m3cf8cJgYm7GWNYVA0ipDqjkL5dr5VoSCo pxbgsIseCbDfH1HylWA= Original-Received: from [192.168.2.12] ([62.131.125.253]) by CPSMTPM-CMT108.kpnxchange.com over TLS secured channel with Microsoft SMTPSVC(8.5.9600.16384); Wed, 7 Feb 2018 12:56:24 +0100 In-Reply-To: <66848D02-310F-4A56-A0BD-BFF8F1B60322@gmail.com> X-Mailer: Apple Mail (2.3445.5.20) X-OriginalArrivalTime: 07 Feb 2018 11:56:24.0933 (UTC) FILETIME=[ADC48150:01D3A00A] X-RcptDomain: ntg.nl 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:100026 Archived-At: --===============4104166344714748306== Content-Type: multipart/alternative; boundary="Apple-Mail=_14400A95-E358-435D-89ED-BE32C4048517" --Apple-Mail=_14400A95-E358-435D-89ED-BE32C4048517 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Otared, Thanks, the solution works to some extend. It yields the following = output. 1. item 1 1.a. subitem a, reference a 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.=20 Yet the output I am looking for, and which I had in mkii, is: 1. item 1 a. subitem a, reference a 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.=20 Is this possible? Regards, Robert > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_14400A95-E358-435D-89ED-BE32C4048517 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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
_______________________________________________________________= ____________________
= --Apple-Mail=_14400A95-E358-435D-89ED-BE32C4048517-- --===============4104166344714748306== 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 --===============4104166344714748306==--