From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10528 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Johannes_H=FCsing?= Newsgroups: gmane.comp.tex.context Subject: Re: Conditional Text Date: Fri, 24 Jan 2003 23:24:02 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030124222402.GA4320@ruhrau.de> References: <20030118170642.42ebdcbb.lazycode@linuxkungfu.org> <5.1.0.14.1.20030120100506.028557e8@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1043446272 26522 80.91.224.249 (24 Jan 2003 22:11:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2003 22:11:12 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18cC1c-0006qk-00 for ; Fri, 24 Jan 2003 23:10:12 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 789D310B10; Fri, 24 Jan 2003 23:11:47 +0100 (MET) Original-Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by ref.ntg.nl (Postfix) with ESMTP id 9816810AE7 for ; Fri, 24 Jan 2003 23:10:08 +0100 (MET) Original-Received: from qossuth (D06f1.pppool.de [80.184.6.241]) by mail3.panix.com (Postfix) with ESMTP id DA75A986FA for ; Fri, 24 Jan 2003 17:10:05 -0500 (EST) Original-Received: from hannes by qossuth with local (Exim 3.35 #1 (Debian)) id 18cCF0-0001Pf-00 for ; Fri, 24 Jan 2003 23:24:02 +0100 Original-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <5.1.0.14.1.20030120100506.028557e8@server-1> User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: johannes.huesing@ruhrau.de List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10528 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10528 On Mon, Jan 20, 2003 at 10:07:45AM +0100, Hans Hagen wrote: > At 05:06 PM 1/18/2003 -0700, you wrote: > >Greetings! > > > > Is it possible to have parts of the ConTeXt file > >processed conditionally? I'm hoping to be able to do > >something like: > > > >(in ConTeXt file) > > > >Question: What is the derivative of $e^{sqrt{x}}$\\ > >\some-command-start > >Answer: $\frac{d}{dx} e^{sqrt{x}} ... $ > >\some-command-end > > [...] > > \defineblock [answer] > Interesting: Three of your users suggest using modes instead. I would have too. What made you choose blocks over modes here? Greetings Johannes -- Johannes Hüsing There is something fascinating about science. One gets hannes@ruhrau.de such wholesale returns of conjecture from such a trifling investment of fact. Mark Twain