From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16980 Path: main.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: \presentationstep Date: Mon, 8 Nov 2004 13:59:49 +0100 Message-ID: References: <1099728440.7428.19.camel@tempete.lac.qc.ca> <1099875456.24313.8.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 1099919291 31555 80.91.229.6 (8 Nov 2004 13:08:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2004 13:08:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 08 14:08:01 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 1CR9FZ-0002Rt-00 for ; Mon, 08 Nov 2004 14:08:01 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80EB5127B5; Mon, 8 Nov 2004 14:08:01 +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 09423-06-4; Mon, 8 Nov 2004 14:07:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9B31E127A2; Mon, 8 Nov 2004 14:07:58 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 40048127A9 for ; Mon, 8 Nov 2004 14:07:57 +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 09666-01-2 for ; Mon, 8 Nov 2004 14:07:56 +0100 (CET) Original-Received: from mwinf0207.wanadoo.fr (unknown [193.252.22.29]) by ronja.ntg.nl (Postfix) with ESMTP id 925EF1279F for ; Mon, 8 Nov 2004 14:07:56 +0100 (CET) Original-Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf0207.wanadoo.fr (SMTP Server) with SMTP id 6CF021800110 for ; Mon, 8 Nov 2004 14:07:56 +0100 (CET) Original-Received: from postfix.math.uvsq.fr (AMontsouris-151-1-34-173.w82-123.abo.wanadoo.fr [82.123.31.173]) by mwinf0207.wanadoo.fr (SMTP Server) with ESMTP id DDE4918000B8 for ; Mon, 8 Nov 2004 14:07:55 +0100 (CET) Original-Received: from [10.0.1.8] (localhost [127.0.0.1]) by postfix.math.uvsq.fr (Postfix) with ESMTP id BEABA2FEBCF for ; Mon, 8 Nov 2004 14:07:54 +0100 (CET) X-Sender: otared@pop.wanadoo.fr In-Reply-To: <1099875456.24313.8.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:16980 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16980 At 19:57 -0500 7/11/04, David Munger wrote: >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] Hi David, Thanks for the details. Indeed I get now what is expected from your macros, and as a matter of fact the result is much much better than that of my crude macros... You did a great improvement! So I am going to use yours from now on: thanks again! If I can suggest a possible improvement to the t-rsteps.tex macros, it is the following: When one uses these macros with an automatic numbering such as \placeformula[equation-reference] (see the example below), with each invocation of \page (that is a step) the number increases, and this is an unwanted side result. Would it possible to "freeze" the numbering procedure in such a way that the number doesn't change in each step? (When I was using my macros, I didn't use \placeformula in sildes with steps, but rather an old \leqno from plain TeX). Best regards: OK %%%%%%%%%%%%%%%%%%%%%%% example steps-david-2.tex \usemodule [pre-original] \usemodule [rsteps] \starttext \StartSteps[Slide Title] % the title is passed to % the \Subject macro defined in pre-original \startitemize \FromStep[1] {\item {\bf Lemma. } {\it For any $u,v \in H$, a Hilbert space, we have the following Cauchy-Schwarz inequality\/} \placeformula[Cauchy-Schwarz] \startformula |(u|v)| \leq \Vert u\Vert \cdot \Vert v \Vert. \stopformula} \FromStep[2] {\item {\bf Proof. } Consider $f(t):= (u+tv|u+tv)$ for $t\in {\Bbb C}$.} \FromStep[3]{\item We have $f(t) \geq 0$ for all $t\in {\Bbb C}$.} \stopitemize \StopSteps \stoptext %%%%%%%%%%%%%%%%%% end example steps-david-2.tex