From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16973 Path: main.gmane.org!not-for-mail From: David Munger Newsgroups: gmane.comp.tex.context Subject: Re: \presentationstep Date: Sun, 07 Nov 2004 19:57:36 -0500 Message-ID: <1099875456.24313.8.camel@tempete.lac.qc.ca> References: <1099728440.7428.19.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 1099875461 2806 80.91.229.6 (8 Nov 2004 00:57:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2004 00:57:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 08 01:57:28 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 1CQxqa-0003ux-00 for ; Mon, 08 Nov 2004 01:57:28 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 738B3127A2; Mon, 8 Nov 2004 01:57:27 +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 02986-06; Mon, 8 Nov 2004 01:57:25 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C93912798; Mon, 8 Nov 2004 01:57:24 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF1FB12798 for ; Mon, 8 Nov 2004 01:57:22 +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 02901-09 for ; Mon, 8 Nov 2004 01:57:22 +0100 (CET) Original-Received: from tomts22-srv.bellnexxia.net (unknown [209.226.175.184]) by ronja.ntg.nl (Postfix) with ESMTP id E28F81278F for ; Mon, 8 Nov 2004 01:57:21 +0100 (CET) Original-Received: from tempete.lac.qc.ca ([69.156.167.116]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041108005653.FFPH2542.tomts22-srv.bellnexxia.net@tempete.lac.qc.ca> for ; Sun, 7 Nov 2004 19:56:53 -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 1CQxqi-0006NG-Ue for ntg-context@ntg.nl; Sun, 07 Nov 2004 19:57:36 -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:16973 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16973 Otared Kavian wrote : > Hi David, Hi all Contexters, > > Sorry for being late in answering. > > I just tried to test your code but did not succeed in showing things > step by step, even after adding: > \def\Subject#1{\centerline{\bf #1}} > \setuppapersize [S6][S6] > \setupcolors[state=start] > and changing the commands \[ and \] (which are probably from a LaTeX > background) into \startformula and \stopformula. > > What I get doesn't show any step, but only one or two pages with > several "Slide Title", and the items you had in your example, on it, > and one or two pages with "Navier-Stokes equation". > > Am I missing something? Could you please send me (if necessary off > List) a source file of yours which is completely working? > > Best regards: OK Oh sorry for not being clear about it. I was assuming that some presentation module would be imported, for instance: \usemodule[pre-original] So probably there lacks a \page command in your \Subject definition. About the \[ and \]: you're right. I was using the amsl module from Giuseppe Bilotta. Thanks for your remarks. :-) So, assuming that the steps code is in a file name t-rsteps.tex, the complete example would be: ---------------------------------------------------------- \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} \stopitemize \StopSteps \StartSteps[Navier||Stokes equation] \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 \stoptext ----------------------------------------------------------