From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81530 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Resetting enumeration numbers Date: Fri, 5 Apr 2013 16:08:19 +0200 Message-ID: <422E9A2E-4ADA-4865-BD7C-3ED11F5A8CB3@boede.nl> References: <36B71FF9-BFE3-472C-82A1-96EB4E955A01@boede.nl> <515DECE4.3040309@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365271253 25516 80.91.229.3 (6 Apr 2013 18:00:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 18:00:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 06 20:00:54 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UOWaB-0005pR-5m for gctc-ntg-context-518@m.gmane.org; Sat, 06 Apr 2013 19:07:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88BFB101E4; Fri, 5 Apr 2013 16:08:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cHlOqxTBBVLh; Fri, 5 Apr 2013 16:08:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E6A11101E6; Fri, 5 Apr 2013 16:08:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30D18101E6 for ; Fri, 5 Apr 2013 16:08:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id H4Nb0OTpw5k7 for ; Fri, 5 Apr 2013 16:08:22 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id E8868101E4 for ; Fri, 5 Apr 2013 16:08:21 +0200 (CEST) Original-Received: from webmail.digitpaint.nl (webmail.digitpaint.nl [83.98.197.40]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r35E8LCU028370 for ; Fri, 5 Apr 2013 16:08:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by webmail.digitpaint.nl (Postfix) with ESMTP id B8D751815B6 for ; Fri, 5 Apr 2013 16:08:20 +0200 (CEST) Original-Received: from webmail.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x9R8b7cVGyNp for ; Fri, 5 Apr 2013 16:08:20 +0200 (CEST) Original-Received: from [192.168.0.20] (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by webmail.digitpaint.nl (Postfix) with ESMTPSA id 91675181468 for ; Fri, 5 Apr 2013 16:08:20 +0200 (CEST) In-Reply-To: <515DECE4.3040309@wxs.nl> X-Mailer: Apple Mail (2.1283) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.40; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Jke8lTS - 23b7092146d0 - 20130405 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81530 Archived-At: Thank you folks! about the synchronization I did not write, but in my case there was also something with interference when using subsubject paragraphs inside a section, then the counter was reset although I had set the "way=bysection"... I will now donwload the latest beta and see .... Thanks! Willi On Apr 4, 2013, at 11:13 PM, Hans Hagen wrote: > On 4/4/2013 10:45 PM, Matthias Weber wrote: >> This might not be the best way to do it, but when I need it, I use >> >> \resetnumber[problem] >> >> for my >> >> \startproblem >> >> \stopproblem >> >> enumeration. > > \defineenumeration[test] > > \setupenumeration[test][way=bysection] > > \starttext > \startsection[title=one] > \starttest alpha \stoptest > \starttest beta \stoptest > \stopsection > \startsection[title=two] > \starttest alpha \stoptest > \starttest beta \stoptest > \stopsection > \stoptext > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > 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://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________