ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@wanadoo.fr>
Subject: Re: \presentationstep
Date: Mon, 8 Nov 2004 13:59:49 +0100	[thread overview]
Message-ID: <p06110401bdb51a13f62c@[10.0.1.137]> (raw)
In-Reply-To: <1099875456.24313.8.camel@tempete.lac.qc.ca>

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

  reply	other threads:[~2004-11-08 12:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03  8:35 \presentationstep Otared Kavian
2004-11-03 16:42 ` \presentationstep David Munger
2004-11-03 17:25   ` \presentationstep Otared Kavian
2004-11-06  8:07 ` \presentationstep David Munger
2004-11-07 22:10   ` \presentationstep Otared Kavian
2004-11-08  0:57     ` \presentationstep David Munger
2004-11-08 12:59       ` Otared Kavian [this message]
2004-11-08 18:01         ` \presentationstep David Munger
2004-11-08 20:02           ` \presentationstep Otared Kavian
2004-11-08 21:10             ` \presentationstep David Munger
2004-11-10 14:51               ` \presentationstep Otared Kavian
2004-11-10 17:08                 ` \presentationstep David Munger
2004-11-10 17:39                   ` \presentationstep Hans Hagen
2004-11-10 18:08                     ` \presentationstep David Munger
2004-11-10 18:44                   ` \presentationstep Otared Kavian
2004-11-10 18:25                 ` \presentationstep Vit Zyka
2004-11-10 19:05                   ` \presentationstep Otared Kavian
  -- strict thread matches above, loose matches on Subject: below --
2004-11-02  6:04 \presentationstep David Munger
2004-11-02  7:45 ` \presentationstep Henning Hraban Ramm
2004-11-02  9:58   ` \presentationstep Hans Hagen
2004-11-02 22:22     ` \presentationstep David Munger
2004-11-02 22:55       ` \presentationstep h h extern
2004-11-02 23:38         ` \presentationstep David Munger
2004-11-03  9:39           ` \presentationstep Hans Hagen
2004-11-09 10:18 ` \presentationstep Eckhart Guthöhrlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p06110401bdb51a13f62c@[10.0.1.137]' \
    --to=otared@wanadoo.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).