From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1028 invoked from network); 26 Apr 2023 03:30:45 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2023 03:30:45 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E85241C28BD; Wed, 26 Apr 2023 05:30:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 8ML3fZ8D7RnC; Wed, 26 Apr 2023 05:30:16 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 980D71416; Wed, 26 Apr 2023 05:30:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A48E31416 for ; Wed, 26 Apr 2023 05:30:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 Jo8Kr3EoXLUd for ; Wed, 26 Apr 2023 05:30:14 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.170; helo=mail-pf1-f170.google.com; envelope-from=roma83537@gmail.com; receiver= Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id F3ABD1414 for ; Wed, 26 Apr 2023 05:30:13 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-63b4a64c72bso5243205b3a.0 for ; Tue, 25 Apr 2023 20:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682479812; x=1685071812; h=in-reply-to:from:cc:references:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=VfMFrCNI3PBWJdf9ERM208qwBkU7TxdFPTVZ5FE5eQE=; b=JbKvmptHHgXb8Dr2z0qBg4suq+UkF8lCF1KGpLk141257LxYj7SQ8zD34TWCwlmFqc rFMhVQnECJ5txMiU+v0cMFMqzh6riM320Onlpfttp2nAzqAXr+F2AAqxmV64pICugMjH ROt9nmgpJCDhfriNpXarYHVvs5T4OlADrQ3ctg3b8J698xhrhfjL2MWodDKkqMZ2UMed 5gpPPrTId7m3KU7Ss/ewivLNXBfsPb+z89LqDIQoatkUYir7kM0zKXOjFBvw/fsW0AZl DE/JFHAjfXBryfM61jeRXgo+m8oU8d2FY4AZ/PgGDxd4sld+wV00U6vEF3qk+XxiF/fh 7WbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682479812; x=1685071812; h=in-reply-to:from:cc:references:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VfMFrCNI3PBWJdf9ERM208qwBkU7TxdFPTVZ5FE5eQE=; b=XP7lZmGYuQljHsf5YyNXOru4ipCiU+b3yzw9Ti5Xmb7RoTFHBnnb9iFkVbozj04CxX xwI3pUKoPl6Bh2C9U4KTIEvUe/mSOvIQaIMO9gSi9UJWJAmUKxXOQ2jx15FvLaknOQse wdFT35CcYo10z5LKQ7mR9kLfLQxgGVWdZa4KAFxlXf5YgxlY6gnB75PdAo5Itp38Pr62 PjqRaTzfPFQteDaMigkp4jmq4yCZwtlqO2CnylG6LaXEXY/O6627etGJsMpnlTe0pHxK dbdHWBhSCr1n0dUzEOIQsqfBbr8VGjeU6BIU4RBYj7TnZTAdFpXBCcEJRQViYEvW6AUU ay4A== X-Gm-Message-State: AAQBX9dx+g/Wb8NaUI7gPezNizR/4x096pcZAhr2/2T3pC/7C1ywXtOq wfXU58ztTyMH7EecsAZA1JwVBji7mAQ= X-Google-Smtp-Source: AKy350bauMtGgF8T1NDTkQVU6stN0TcBMU+C37H5MoO8hAzCo04nqo6H3X3drcdYovTwX80+y0sXLg== X-Received: by 2002:a05:6a00:847:b0:63d:67e5:9731 with SMTP id q7-20020a056a00084700b0063d67e59731mr28921971pfk.2.1682479811671; Tue, 25 Apr 2023 20:30:11 -0700 (PDT) Received: from ?IPV6:2405:6e00:208b:c90:e4f1:8e5a:c7f:fce0? ([2405:6e00:208b:c90:e4f1:8e5a:c7f:fce0]) by smtp.gmail.com with ESMTPSA id v1-20020a056a00148100b0062e0515f020sm9964508pfu.162.2023.04.25.20.30.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Apr 2023 20:30:11 -0700 (PDT) Message-ID: Date: Wed, 26 Apr 2023 13:30:06 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-AU To: Michael Urban via ntg-context References: <75A21E06-84AA-4224-82B8-5E7C833BE8CB@ca.rr.com> In-Reply-To: <75A21E06-84AA-4224-82B8-5E7C833BE8CB@ca.rr.com> Subject: Re: [NTG-context] Numbered Itemlist With Interruption X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: jbf via ntg-context Reply-To: mailing list for ConTeXt users Cc: jbf , mailing list for ConTeXt users Content-Type: multipart/mixed; boundary="===============6367520896785661544==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" This is a multi-part message in MIME format. --===============6367520896785661544== Content-Type: multipart/alternative; boundary="------------pVmYue80vJRbEcaVBm9LP96X" Content-Language: en-AU This is a multi-part message in MIME format. --------------pVmYue80vJRbEcaVBm9LP96X Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit \startitemize[continue]% THIS SHOULD DO WHAT YOU WANT \item Picking up where we left off. \item And all is well. \stopitemize Julian On 26/4/23 13:21, Michael Urban via ntg-context wrote: > I am trying to have two numbered itemizations, with a paragraph in between, such that the second list starts where the first left off, without having to manually calculate the new start point. The following does not work, and I do not understand why. > > Mike > > > \starttext > \definecounter[mynumber][] > \startitemize[n] > \item The first item. > \item The second item > \item Item number \currentitemnumber{}, the last one. > \setcounter[mynumber][\currentitemnumber] > \stopitemize > > The \type{\getnumber[mynumber]} value is \getnumber[mynumber]. > \incrementcounter[mynumber] > > And now the big finish, start at \getnumber[mynumber]: > \startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL? > \item Picking up where we left off. > > \item And all is well. > \stopitemize > Done! > \stoptext > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist :ntg-context@ntg.nl /https://www.ntg.nl/mailman/listinfo/ntg-context > webpage :https://www.pragma-ade.nl /http://context.aanhet.net > archive :https://bitbucket.org/phg/context-mirror/commits/ > wiki :https://contextgarden.net > ___________________________________________________________________________________ --------------pVmYue80vJRbEcaVBm9LP96X Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

\startitemize[continue]% THIS SHOULD DO WHAT YOU WANT

\item Picking up where we left off.

\item And all is well.

\stopitemize

Julian

On 26/4/23 13:21, Michael Urban via ntg-context wrote:
I am trying to have two numbered itemizations, with a paragraph in between, such that the second list starts where the first left off, without having to manually calculate the new start point.  The following does not work, and I do not understand why.

	Mike


\starttext
\definecounter[mynumber][]
\startitemize[n]
\item The first item.
\item The second item
\item Item number \currentitemnumber{}, the last one.
\setcounter[mynumber][\currentitemnumber]
\stopitemize

The \type{\getnumber[mynumber]} value is \getnumber[mynumber].
\incrementcounter[mynumber]

And now the big finish, start at \getnumber[mynumber]:
\startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL? 
\item Picking up where we left off.

\item And all is well.
\stopitemize
Done!
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________
--------------pVmYue80vJRbEcaVBm9LP96X-- --===============6367520896785661544== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============6367520896785661544==--