From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24535 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: [Fwd: Re: Need a little help on sample file] Date: Tue, 20 Dec 2005 22:10:54 +0100 Message-ID: <43A8735E.7020206@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030207040704010909050602" X-Trace: sea.gmane.org 1135122793 16124 80.91.229.2 (20 Dec 2005 23:53:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2005 23:53:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 21 00:53:11 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 1EorHM-0003uM-N5 for gctc-ntg-context-518@m.gmane.org; Wed, 21 Dec 2005 00:52:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6D29127B6; Wed, 21 Dec 2005 00:52:23 +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 15005-06; Wed, 21 Dec 2005 00:52:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 916F91284D; Tue, 20 Dec 2005 22:10:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3A42F127E7 for ; Tue, 20 Dec 2005 22:10:56 +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 12526-01-4 for ; Tue, 20 Dec 2005 22:10:55 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 3475D127E1 for ; Tue, 20 Dec 2005 22:10:54 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 8536 for ; Tue, 20 Dec 2005 22:18:13 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: c X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:24535 Archived-At: This is a multi-part message in MIME format. --------------030207040704010909050602 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit --------------030207040704010909050602 Content-Type: message/rfc822; name="Re: Need a little help on sample file" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: Need a little help on sample file" Message-ID: <43A87343.9040302@wxs.nl> Date: Tue, 20 Dec 2005 22:10:27 +0100 From: Hans Hagen User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Arnold Subject: Re: Need a little help on sample file References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit David Arnold wrote: > 1. I need to number consecutive exercises. > > 2. I need a way of coding the exercise questions and keeping the > solution together with the exercise source, but hidden for later use > in another part of the document. I'm not sure how to plan for this > future event. something to play with \starttext \defineblock[question] \defineblock[answer] \hideblocks[answer] \defineenumeration[question] \defineenumeration[answer][coupling=question] \chapter{One} \input tufte \beginquestion \startquestion Whatever needs to be exercised. \stopquestion \endquestion \beginanswer \startanswer No answer. \stopanswer \endanswer \chapter{Two} \input tufte \beginquestion \startquestion Whatever more needs to be exercised. \stopquestion \endquestion \beginanswer \startanswer Again no answer. \stopanswer \endanswer \chapter{Exercises} \useblocks[answer] % \useblocks[question,answer] \stoptext there are quite some ways to tag and filter such blocks (see manual) beware: \begin... and \end... should start at column 1 of a line (like buffers and display verbatim) > > 3. I need a way of switching between double column to single column. bla bla \startcolumns bla bla \stopcolumns bla bla --------------030207040704010909050602 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------030207040704010909050602--