From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17009 Path: main.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: \presentationstep Date: Wed, 10 Nov 2004 15:51:49 +0100 Message-ID: References: <1099728440.7428.19.camel@tempete.lac.qc.ca> <1099875456.24313.8.camel@tempete.lac.qc.ca> <1099936891.9341.7.camel@m51.ASTRO.UMontreal.CA> <1099948238.6378.3.camel@tempete.lac.qc.ca> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: sea.gmane.org 1100098444 10734 80.91.229.6 (10 Nov 2004 14:54:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Nov 2004 14:54:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 10 15:53:50 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRtr4-0005BJ-00 for ; Wed, 10 Nov 2004 15:53:50 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D6B012772; Wed, 10 Nov 2004 15:53:50 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31226-01; Wed, 10 Nov 2004 15:53:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 67073127B4; Wed, 10 Nov 2004 15:52:05 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C0D1127B4 for ; Wed, 10 Nov 2004 15:52:04 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30871-07 for ; Wed, 10 Nov 2004 15:52:03 +0100 (CET) Original-Received: from mwinf0307.wanadoo.fr (unknown [193.252.22.28]) by ronja.ntg.nl (Postfix) with ESMTP id 2AFEC12772 for ; Wed, 10 Nov 2004 15:52:03 +0100 (CET) Original-Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf0307.wanadoo.fr (SMTP Server) with SMTP id E855E18001D2 for ; Wed, 10 Nov 2004 15:52:02 +0100 (CET) Original-Received: from postfix.math.uvsq.fr (AMontsouris-151-1-31-127.w82-123.abo.wanadoo.fr [82.123.28.127]) by mwinf0307.wanadoo.fr (SMTP Server) with ESMTP id 7CD3F18000B1 for ; Wed, 10 Nov 2004 15:52:01 +0100 (CET) Original-Received: from [10.0.1.9] (localhost [127.0.0.1]) by postfix.math.uvsq.fr (Postfix) with ESMTP id 8D942302031 for ; Wed, 10 Nov 2004 15:51:59 +0100 (CET) X-Sender: otared@pop.wanadoo.fr In-Reply-To: <1099948238.6378.3.camel@tempete.lac.qc.ca> Original-To: mailing list for ConTeXt users X-Virus-Scanned: by 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17009 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17009 At 16:10 -0500 8/11/04, David Munger wrote: > >Argh... It's because of the line splits in email. I just put the file on >my website: > >http://cfd.homelinux.org/tex/ > Hi David and all ConTeXters, I was away from my e-mail so I am late in answering. Thank you for the file you put on your site. Indeed everything works as intended (the \placeformula no longer advances with each step), and I think one may suggest to Hans to include this in future distributions. However, in the spirit of ConTeXters who are always asking for a step(!) towards perfectness, I let you know the following drawbacks of the macros: 1) Somehow the \FromStep[n][reserve] changes the internal mechanism of glue or spaces in displayed formulas. So one needs (as you do in your example) to add \; around operators such as +, -, =. Can one avoid this? 2) When one refers (see example below) with the command (\in[eq:NS]) to an equation which has been introduced with \placeformula[eq:NS] the interaction makes appear the first instance of that formula, which may be incomplete. Could one have a control over this, that is for instance, in this particular case, make appear the completed equation at the end of the slide made with \StartSteps[Navier||Stokes equation]? Best regards: OK %%%% file steps-david-3.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % usage example %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usemodule [pre-original] \usemodule [rsteps] \starttext \StartSteps[Slide Title] % the title is passed to % the \Subject macro \startitemize \item Item 1 \OnlyStep[2] {\item (oops!)} \UntilStep[4] {\item Item 2*} \FromStep[4] {\item Item 2} \HighlightStep[3]{\item Here is another version of Navier-Stokes equation} \stopitemize \StopSteps \StartSteps[Navier||Stokes equation] \placeformula[eq:incompressibility] \startformula \vec\nabla\cdot\vec u = 0 \stopformula \placeformula[eq:NS] \startformula \frac{D\vec u}{Dt} = \FromStep[2][reserve]{-{\red \frac1\rho \vec\nabla p}} \FromStep[3][reserve]{+\;{\green \vec g}} \FromStep[4][reserve]{+\;{\blue \frac1\rho \vec\nabla\cdot S}} \stopformula Momentum transport: \NextStep \item {\red Pressure gradient} \par\NextStep \item {\green Gravity} \par\NextStep \item {\blue Stress (viscous, turbulent, Maxwell)} \StopSteps \StartSteps[Navier Stokes equation] \placeformula[eq:div-nul] \startformula \vec\nabla\cdot\vec u = 0 \stopformula \placeformula[eq:NStokes] \startformula { \partial u \over \partial t} - \Delta u \FromStep[1][reserve]{{\red \; +\; (u\cdot \nabla)u}} \FromStep[2][reserve]{{\green \; +\; \nabla p}} \FromStep[3][reserve]{{\blue \; =\; f(t,x)}} \stopformula Comments: \NextStep \item Nonlinear equation (same is true for equation (\in[eq:NS]) \par\NextStep \item One should add initial conditions \par\NextStep \item and boundary conditions \StopSteps \stoptext %%%%%% end file steps-david-3.tex