ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Munger <mungerd@users.sourceforge.net>
Subject: Re: \presentationstep
Date: Sun, 07 Nov 2004 19:57:36 -0500	[thread overview]
Message-ID: <1099875456.24313.8.camel@tempete.lac.qc.ca> (raw)
In-Reply-To: <p06110401bdb44b298b62@[10.0.1.137]>

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

----------------------------------------------------------

  reply	other threads:[~2004-11-08  0:57 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     ` David Munger [this message]
2004-11-08 12:59       ` \presentationstep Otared Kavian
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=1099875456.24313.8.camel@tempete.lac.qc.ca \
    --to=mungerd@users.sourceforge.net \
    --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).