ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* rsteps module conflicts with s-pre-13?
@ 2007-09-24  5:30 Ruini Xue
  0 siblings, 0 replies; only message in thread
From: Ruini Xue @ 2007-09-24  5:30 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2669 bytes --]

hello,

I am making a presentation with `s-pre-13', and it seems module `rsteps'
conflicts with it.

use the example in t-rsteps.tex, but replace `pre-original' with 's-pre-13'.

% <<<<BEGIN mini example
\usemodule [pre-writing]
\usemodule [rsteps]


% interaction menu example:
% page number with alphabetic subpage number
\startinteractionmenu[bottom]
  \placelist[chapter] [alternative=bottom,criterium=all,pagenumber=no]
  \\
  \pagenumber{\characters\subpagenumber}/\lastpagenumber
\stopinteractionmenu


\setupcolors[state=start]
\SetupSteps[defaultsection=Subject]


\starttext

\startstandardmakeup
  \bfc Raw Steps Module
  \blank[big]
  \tfb Usage Examples
\stopstandardmakeup


\StartSteps [Simple stepping (step \noexpand\CurrentStepNumber)]

  First step.
  \NextStep
  Second step.
  \NextStep
  Third step.
  \AllSteps
  All steps.

\StopSteps


\StartSteps[Fancy stepping (step \noexpand\CurrentStepNumber)]

  \startitemize
  \OnSteps[1-3,5]{\item Steps 1, 2, 3 and 5.}
  \OnSteps[2-...]{\item From step 2.}
  \OnSteps[3]    {\item Step 3.}
  \OnSteps[...-4]{\item Up to step 4.}
  \stopitemize

\StopSteps


\StartSteps[Highlighting (step \noexpand\CurrentStepNumber)]

  \startitemize
  \item \HighlightSteps[1,4]    {Step 1.}
  \item \HighlightSteps[2]      {Step 2.}
  \item \HighlightSteps[3]      {Step 3.}
  \item \HighlightSteps[4]      {Start over from Step 1.}
  \stopitemize

\StopSteps


\StartSteps[Equations]

  \placeformula[eq:divu]

  \startformula
    \vec\nabla\cdot\vec u = 0
  \stopformula

  \placeformula[eq:NS]
  \startformula
    \frac{D\vec u}{Dt} =
      \OnSteps[2-...][reserve]{-{\red \frac1\rho \vec\nabla p}}
      \OnSteps[3-...][reserve]{+\;{\green \vec g}}
      \OnSteps[4-...][reserve]{+\;{\blue \frac1\rho \vec\nabla\cdot S}}
  \stopformula

  Incompressibility (\in{eq.}[eq:divu]).

  Momentum transport (\in{eq.}[eq:NS]):
  \startitemize
  \OnSteps[2-...]{\item {\red   Pressure gradient}}
  \OnSteps[3-...]{\item {\green Gravity}}
  \OnSteps[4-...]{\item {\blue  Stress (viscous, turbulent, Maxwell)}}
  \stopitemize

\StopSteps

\stoptext

%>>>>END mini example

The error is:

[1.1]
! Missing \endcsname inserted.
<to be read again>
                   \@@koSubjectsection
\countervalue #1->\ifcsname #1
                              \endcsname \csname #1\endcsname \fi
\determineheadnumber ...@sectionvalue {\@@sectie }
                                                  }\egroup
\doStartSteps ...eheadnumber [\steps@sectiontype ]
                                                  \xdef
\steps@sectionnumber...
l.45 \StopSteps



btw, please cc the replay to me, since I do not subscribe the list.

Best

Ruini

[-- Attachment #1.2: Type: text/html, Size: 4282 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-24  5:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-24  5:30 rsteps module conflicts with s-pre-13? Ruini Xue

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).