From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24498 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Exercise sets Date: Mon, 19 Dec 2005 23:48:44 +0100 Message-ID: <43A738CC.6020905@boede.nl> References: <45FCDFE2-C0DF-4ADB-98FB-6CD2EF522994@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135032735 17257 80.91.229.2 (19 Dec 2005 22:52:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 22:52:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 19 23:52:04 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 1EoToO-0007lD-Cz for gctc-ntg-context-518@m.gmane.org; Mon, 19 Dec 2005 23:48:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8535D1281C; Mon, 19 Dec 2005 23:48:54 +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 28401-03; Mon, 19 Dec 2005 23:48:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 568BF127FD; Mon, 19 Dec 2005 23:48:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 00220127FD for ; Mon, 19 Dec 2005 23:48:47 +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 28204-09 for ; Mon, 19 Dec 2005 23:48:47 +0100 (CET) Original-Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by ronja.ntg.nl (Postfix) with ESMTP id 1148C127FB for ; Mon, 19 Dec 2005 23:48:46 +0100 (CET) Original-Received: from [192.168.0.193] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) (authenticated bits=0) by smtp-vbr7.xs4all.nl (8.13.3/8.13.3) with ESMTP id jBJMmjkA053897 for ; Mon, 19 Dec 2005 23:48:46 +0100 (CET) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <45FCDFE2-C0DF-4ADB-98FB-6CD2EF522994@cox.net> X-Virus-Scanned: by XS4ALL Virus Scanner 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:24498 Archived-At: Hi David, the answer must be found in \defineenumeration[question][..] and \defineenumeration[answer][...] further you can use the defineblock[...] mechanism. Please refer to the cont-enp.pdf pages 262 ff. Kind regards Willi David Arnold wrote: > All, > > I'd like to design an exercise environment that will keep both the > exercise and solution together. Something like: > > \startExercise > > Blah, blah, blah. > > \startSolution > Blah, blah, blah > \stopSolution > > \stopExercise > > At a higher level, something with parts, like: > > \startExercise > > Blah, blah, blah, ... > > \item Blah, blah, blah, ... > > \startSolution > Blah, blah, blah, .. > \stopSolution > > > \item Blah, blah, blah, ... > > \startSolution > Blah, blah, blah, .. > \stopSolution > > \item Blah, blah, blah, ... > > \startSolution > Blah, blah, blah, .. > \stopSolution > > \stopExercise > > I'd like the exercises to get typeset in place, but the even > solutions should go to the end of the text. > > Has anyone done something similar in Context? > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context