From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17010 Path: main.gmane.org!not-for-mail From: David Munger Newsgroups: gmane.comp.tex.context Subject: Re: \presentationstep Date: Wed, 10 Nov 2004 12:08:22 -0500 Message-ID: <1100106502.29504.16.camel@tempete.lac.qc.ca> 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 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100141387 17406 80.91.229.6 (11 Nov 2004 02:49:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 02:49:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 10 18:07:54 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 1CRvwo-0000n5-00 for ; Wed, 10 Nov 2004 18:07:54 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D959127C5; Wed, 10 Nov 2004 18:07:53 +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 31411-08; Wed, 10 Nov 2004 18:07:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C992127B7; Wed, 10 Nov 2004 18:07:49 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 67451127B7 for ; Wed, 10 Nov 2004 18:07:47 +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 31480-06 for ; Wed, 10 Nov 2004 18:07:46 +0100 (CET) Original-Received: from tomts10-srv.bellnexxia.net (unknown [209.226.175.54]) by ronja.ntg.nl (Postfix) with ESMTP id 336C81276D for ; Wed, 10 Nov 2004 18:07:46 +0100 (CET) Original-Received: from tempete.lac.qc.ca ([69.156.167.116]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041110170734.BPWY26826.tomts10-srv.bellnexxia.net@tempete.lac.qc.ca> for ; Wed, 10 Nov 2004 12:07:34 -0500 Original-Received: from tempete.lac.qc.ca ([192.168.1.1] ident=david) by tempete.lac.qc.ca with esmtp (Exim 4.34) id 1CRvxG-0007tB-Ts for ntg-context@ntg.nl; Wed, 10 Nov 2004 12:08:22 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: X-Mailer: Evolution 2.0.2 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:17010 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17010 Otared Kavian wrote : > 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? I'm sorry, I'm no TeX/ConTeXt guru and I really have no idea of how to achieve this. I think now we need Hans' help. I have indeed noticed that enclosing an operator between braces breaks the spacing system. Try, for instance: \startformula \vec\nabla\cdot\vec u = 0 \stopformula \startformula \vec\nabla\cdot\vec u {=} 0 \stopformula Unfortunately, using \phatom{=} results in the same broken spacing as second formula. > 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]? Good point! Here's the fix (file updated on my website): 37c37 < \dodoubleempty\doplaceformula[##1]} --- > \dodoubleempty\doplaceformula} 50c50,54 < \dodoubleempty\doplaceformula[####1]} --- > \ifnum\steps@counter=\steps@number% > \def\steps@fnext{\dodoubleempty\doplaceformula[####1]}% > \else > \def\steps@fnext{\dodoubleempty\doplaceformula}% > \fi\steps@fnext} Now we got rid of the duplicate label warnings. I also added your contribution to the usage example. Thank you. Regards, David