From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86378 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: solutions and problems Date: Thu, 20 Feb 2014 10:15:11 +0100 Message-ID: <20140220101511.0c8fac08c374f6eb81424e44@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 1392888068 7959 80.91.229.3 (20 Feb 2014 09:21:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2014 09:21:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 20 10:21:14 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 1WGPod-00016r-52 for gctc-ntg-context-518@m.gmane.org; Thu, 20 Feb 2014 10:21:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88A35101EB; Thu, 20 Feb 2014 10:21:10 +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 ppHPxSOd1MCO; Thu, 20 Feb 2014 10:21:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DD5FD101E6; Thu, 20 Feb 2014 10:21:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B126101E6 for ; Thu, 20 Feb 2014 10:21:07 +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 Cb4vfAZJbOzl for ; Thu, 20 Feb 2014 10:21:05 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 88FCD101E2 for ; Thu, 20 Feb 2014 10:20:55 +0100 (CET) Original-Received: from smtp.movistar.es (smtp11.acens.net [86.109.99.135]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1K9KrNu028161 for ; Thu, 20 Feb 2014 10:20:54 +0100 X-CTCH-RefID: str=0001.0A0B020B.5305C8F5.004A, 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 52FD43280034A949 for ntg-context@ntg.nl; Thu, 20 Feb 2014 09:20:53 +0000 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: 0TLsxkROd - 8eb5eb9e68fe - 20140220 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:86378 Archived-At: Hi, Just a question about blocks... I consulted the manual, but I'm in trouble: I have this definitions: % the exercise \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] \defineenumeration[resposta][headstyle=3D\ss,text=3D{Solucions},width=3Dfit= ,alternative=3Dserried] \defineblock[resposta] % the answer \hideblocks[resposta] And in my text, I have: \startexercici \beginresposta \resposta Exercici 2 (Solucions: \startitemize[a,text] \item D, \item I, \i= tem D, \item 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 ... \startmode[solucions] \subject{Respostes} %Answers \selectblocks[resposta][criterium=3Dsection] \stopmode ... Is there any way that the answers (resposta) has the same number as the 'ex= ercici' in which it belongs to? If not, I have to put "Solutions of exercic= i 2" in my 'resposta' Thank you very much ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________