From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86410 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: solutions and problems Date: Sat, 22 Feb 2014 18:45:37 +0100 Message-ID: <20140222184537.617522aac557ab64c217971b@telefonica.net> References: <20140220101511.0c8fac08c374f6eb81424e44@telefonica.net> <20140220132233.a836d8f54fcf1cad6c02abd1@telefonica.net> <20140221102820.6b3cd633b35893d1a16c1ec0@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393091497 29861 80.91.229.3 (22 Feb 2014 17:51:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2014 17:51:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 22 18:51:47 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WHGjq-0000U7-Su for gctc-ntg-context-518@m.gmane.org; Sat, 22 Feb 2014 18:51:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1C2E101E1; Sat, 22 Feb 2014 18:51:45 +0100 (CET) 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 y5ISImPwkeM7; Sat, 22 Feb 2014 18:51:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 36F63101E6; Sat, 22 Feb 2014 18:51:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 41479101E6 for ; Sat, 22 Feb 2014 18:51:42 +0100 (CET) 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 WhCig2t0I7i1 for ; Sat, 22 Feb 2014 18:51:32 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id C59BE101E1 for ; Sat, 22 Feb 2014 18:51:22 +0100 (CET) Original-Received: from smtp.movistar.es (smtp11.acens.net [86.109.99.135]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1MHpLSm028534 for ; Sat, 22 Feb 2014 18:51:21 +0100 X-CTCH-RefID: str=0001.0A0B020B.5308E398.004C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-Spam: Unknown Original-Received: from rulot (81.32.88.229) by smtp.movistar.es (8.6.117.05) (authenticated as dxpublica) id 530757B90008E699 for ntg-context@ntg.nl; Sat, 22 Feb 2014 17:51:20 +0000 In-Reply-To: <20140221102820.6b3cd633b35893d1a16c1ec0@telefonica.net> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=86.109.99.135; country=ES; latitude=40.0000; longitude=-4.0000; http://maps.google.com/maps?q=40.0000,-4.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLttPlu1 - 7d41f1e2831b - 20140222 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:86410 Archived-At: No, it does not work. I have this: % Questions \defineenumeration [exercici] [alternative=3Dserried,text=3D{\startcolor[darkblue]Exercici\stopcolor},s= topper=3D{.\space},left=3D{\bgroup},right=3D{\egroup},width=3Dfit,headstyle= =3D\ss,distance=3D0.25em,width=3Dfit,before=3D{\incrementcounter[resposta]}] % Answers \defineenumeration[resposta][headstyle=3D\ss,text=3D{Solucions de l'exercic= i \getnumber[exercici]},width=3Dfit,alternative=3Dserried,before=3D{\decrem= entcounter[resposta]},number=3Dno] \defineblock[resposta] \hideblocks[resposta] % Exercises \startexercici Bla... \beginresposta \resposta (Solucions: \startitemize[a,text] \item D, \item I, \item D, \ite= m No t=E9 relaci=F3, \item D, \item D, \item No t=E9 relaci=F3, \item No t= =E9 relaci=F3, \item D.\stopitemize) \par \endresposta \stopexercici \startexercici Bla 2 \stopexercici \startexercici Bla 3 \beginresposta \resposta (Solucions: \startitemize[a,text] \item D, \item I, \item D, \ite= m No t=E9 relaci=F3, \item D, \item D, \item No t=E9 relaci=F3, \item No t= =E9 relaci=F3, \item D.\stopitemize) \par \endresposta \stopexercici \subject{Answers} \selectblocks[resposta][criterium=3Dsection] I get \getnumber[exercici] as the last, not the counter of 'exercici' in wh= ich I have the answer. How can I do thaT? Thanks, ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________