From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24542 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: \useblocks in section Date: Tue, 20 Dec 2005 19:16:16 -0800 Message-ID: <1598EE78-9D8E-4415-A091-BA4D69ECF5DE@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135135182 10392 80.91.229.2 (21 Dec 2005 03:19:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2005 03:19:42 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 21 04:19:39 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EouTv-00016W-9X for gctc-ntg-context-518@m.gmane.org; Wed, 21 Dec 2005 04:17:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EEB4412863; Wed, 21 Dec 2005 04:17:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19335-01-5; Wed, 21 Dec 2005 04:17:31 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 53BB212813; Wed, 21 Dec 2005 04:17:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B838812813 for ; Wed, 21 Dec 2005 04:17:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19335-01-4 for ; Wed, 21 Dec 2005 04:17:29 +0100 (CET) Original-Received: from fed1rmmtao04.cox.net (fed1rmmtao04.cox.net [68.230.241.35]) by ronja.ntg.nl (Postfix) with ESMTP id 3DF30127C1 for ; Wed, 21 Dec 2005 04:17:28 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao04.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051221031540.EQRQ17690.fed1rmmtao04.cox.net@[10.0.1.2]> for ; Tue, 20 Dec 2005 22:15:40 -0500 Original-To: Context Mailing List List X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24542 Archived-At: All, This doesn't seem to work as expected. Replacing the \useblocks with \selectblocks also produces an unexpected result. What am I doing wrong? I am trying to have only the answers from the chapter show up. %output=pdf \defineenumeration[question][location=serried,text=Question] \defineenumeration[answer][location=serried,text=Answer] \defineblock[question,answer] \hideblocks[answer] \starttext \chapter{First Chapter} \input tufte \beginquestion \startquestion What is the square root of 4? \stopquestion \endquestion \beginanswer \startanswer 2 \stopanswer \endanswer \section{Answers} \useblocks[answer][criterium=chapter] \chapter{Second Chapter} \input tufte \beginquestion \startquestion What is the square root of 9? \stopquestion \endquestion \beginanswer \startanswer 3 \stopanswer \endanswer \section{Answers} \useblocks[answer][criterium=chapter] \stoptext