ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Ruini Xue" <xueruini@gmail.com>
To: ntg-context@ntg.nl
Subject: rsteps module conflicts with s-pre-13?
Date: Mon, 24 Sep 2007 13:30:44 +0800	[thread overview]
Message-ID: <2bba2d6a0709232230s15ae9477s143d02c610f66522@mail.gmail.com> (raw)


[-- 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
___________________________________________________________________________________

                 reply	other threads:[~2007-09-24  5:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2bba2d6a0709232230s15ae9477s143d02c610f66522@mail.gmail.com \
    --to=xueruini@gmail.com \
    --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).