From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95698 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to reset a new processor ? Date: Mon, 08 Aug 2016 12:30:49 +0200 Message-ID: <57A85F59.3090009@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6114035649662434721==" X-Trace: blaine.gmane.org 1470652284 10860 195.159.176.226 (8 Aug 2016 10:31:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 10:31:24 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 08 12:31:19 2016 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 1bWhq2-0002JQ-L0 for gctc-ntg-context-518@m.gmane.org; Mon, 08 Aug 2016 12:31:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 92E35147B6; Mon, 8 Aug 2016 12:31:07 +0200 (CEST) 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 PoO2IWtvu7Mt; Mon, 8 Aug 2016 12:31:06 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id E9D7A147BE; Mon, 8 Aug 2016 12:31:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 871DA147BB for ; Mon, 8 Aug 2016 12:31:05 +0200 (CEST) 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 CgUcvCVFb3W5 for ; Mon, 8 Aug 2016 12:31:04 +0200 (CEST) Original-Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (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 256C1147B6 for ; Mon, 8 Aug 2016 12:30:53 +0200 (CEST) Original-Received: by mail-wm0-f45.google.com with SMTP id i5so129147785wmg.0 for ; Mon, 08 Aug 2016 03:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=7QUC0SljcSBMnee8ssXDNFWdNAN2NE+27trqML7KWbY=; b=bX1ixMJuHh6nmfx882ZvRZ28TP27DRGG4+awlaxfg/tTHpM6PeybybBORuXlXEhgI7 Sqo4IF8TlmrDsu0PZhIGdAhuOW6xn4AUMambWJPM4iic03X3F/FwJ9LieDJ0P8YKb3f8 huQQ3w1PM3HoX8fth3yDVC+aUnZoPMfUEQzNaB86eyu3XyHRlfIOLMbCyDux4mL5wPyb r8NM28MGAMsvpe9wN8LQr9+qol98VuXsO9b8v4w0VE7pGyAW+r+tzFux93Kz7rsAb6BP 6DNr32arfGiKyWQ228oBkrZspxFeIubGW7pdfMsIekoRe++OKETtWY/OvZ/CdgKew8rN +w4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=7QUC0SljcSBMnee8ssXDNFWdNAN2NE+27trqML7KWbY=; b=cUQS8Z5I5CoW17wwq4aQUoliVZkPA/OnsNeh9chF7LhW51KG7kUK63gPwEDvAGEDkw 2miBxVxx/KduHBz99cC0mqXyiwp52dcUSbp4MU9hT/Q8c3n4x9AtNV0JN8H337s7/hcj rGo2wV41yI69UCZMSDS7nbuY/oOK9P62DEfSC13dR3seVbowgEciwSwC3p+oDG1EV6p5 pEyUzyxItgl2wu2RxkF+RGLttUJXjbg2OwY5yM1FsrCjHOrN65poQ8P3ZTHK/ulkwM5Z rtlaKEC4Mmk+b0fklJt9QGC8GA0Ut8cJcrt55fZYqpz3Hb3swPj0h6VAfy0u5XyBylTL iooQ== X-Gm-Message-State: AEkoouuXGRscqL9J6YnBtmpEaRUcnbxsp5Stx0TnV5Dprw+9oIlYgEVhi4NiVC3zzlOw+A== X-Received: by 10.28.22.70 with SMTP id 67mr16244852wmw.52.1470652252537; Mon, 08 Aug 2016 03:30:52 -0700 (PDT) Original-Received: from keima.localdomain (x2f2c309.dyn.telefonica.de. [2.242.195.9]) by smtp.gmail.com with ESMTPSA id p4sm32150075wjq.27.2016.08.08.03.30.51 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Aug 2016 03:30:52 -0700 (PDT) In-Reply-To: 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:95698 Archived-At: This is a multi-part message in MIME format. --===============6114035649662434721== Content-Type: multipart/alternative; boundary="------------090007050809020004060204" This is a multi-part message in MIME format. --------------090007050809020004060204 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Fabrice Couvreur > 8. August 2016 um 12:27 > Hi, > I use a counter for each "Exercises" section of each chapter (Wolfgang > thank you!). > How to reset the counter to 1 for each section ? > thank you, > Fabrice > > > \defineprocessor[ACPROCESSOR][command=\EXFRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > \setupenumeration[...][way=bysection] % way=bychapter etc. Wolfgang --------------090007050809020004060204 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
8. August 2016 um 12:27
Hi,
I use
a counter for each "Exercises" section of each chapter (Wolfgang thank you !).
How to reset the counter to 1 for each section ?
thank you,
Fabrice


\defineprocessor[ACPROCESSOR][command=\EXFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]

\setupenumeration[...][way=bysection] % way=bychapter etc.

Wolfgang

--------------090007050809020004060204-- --===============6114035649662434721== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============6114035649662434721==--