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=-0.9 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 619 invoked from network); 26 Apr 2023 03:23:04 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2023 03:23:04 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D6D0EE0AA; Wed, 26 Apr 2023 05:22:42 +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 joGwJEBfmp_6; Wed, 26 Apr 2023 05:22:40 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8617B1416; Wed, 26 Apr 2023 05:22:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AE6C61416 for ; Wed, 26 Apr 2023 05:22:38 +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 MZXsktmyw9BL for ; Wed, 26 Apr 2023 05:22:37 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=47.43.26.134; helo=p-impout003.msg.pkvw.co.charter.net; envelope-from=urban.m@ca.rr.com; receiver= X-Greylist: delayed 91 seconds by postgrey-1.36 at zapf.ntg.nl; Wed, 26 Apr 2023 05:22:37 CEST Received: from p-impout003.msg.pkvw.co.charter.net (p-impout003aa.msg.pkvw.co.charter.net [47.43.26.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4007F1414 for ; Wed, 26 Apr 2023 05:22:36 +0200 (CEST) Received: from [192.168.1.127] ([76.169.95.66]) by cmsmtp with ESMTP id rViIp7Sm1KPnorViJpWETq; Wed, 26 Apr 2023 03:21:04 +0000 X-Authority-Analysis: v=2.4 cv=evPMc6lX c=1 sm=1 tr=0 ts=644898a0 a=9HwmIaJ9lVBmwb4TZSI63Q==:117 a=9HwmIaJ9lVBmwb4TZSI63Q==:17 a=kj9zAlcOel0A:10 a=hCmfVi1Bv_eEXz3S3WQA:9 a=CjuIK1q_8ugA:10 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Message-Id: <75A21E06-84AA-4224-82B8-5E7C833BE8CB@ca.rr.com> Date: Tue, 25 Apr 2023 20:21:02 -0700 To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.3445.9.1) X-CMAE-Envelope: MS4xfBDPcopR+6HaCrsK6P+UFFkIeLjD917kF3EXQmAqWaWxqVhp9tcCqQyujXqZX5kYl3ZO0nX9VBXnuxgcVW00rJVSG7xMyk37845iNxAYHoXCo1C2qvu4 8P73SdNExHqg28x+RwFXKjnMLJqhZdPiNlWIkNYZCi7UwOUtOJ7e6pGRSivQLp9TdMjnRP6z8/TwKA== Subject: [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: Michael Urban via ntg-context Reply-To: mailing list for ConTeXt users Cc: Michael Urban Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" 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 ___________________________________________________________________________________