ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: small bugfix: module t-rsteps, more than 9 slides not possible
Date: Tue, 07 Jun 2005 22:44:50 +0200	[thread overview]
Message-ID: <42A60742.5090109@gmail.com> (raw)


\FromStep[10] doesn't work in the following program:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usemodule[rsteps]
\setupcolor[state=start]
\definehead[Subject][subject]
\setuphead[Subject][page=yes,style=\bfb]

\starttext
\StartSteps[Title]
a
\FromStep[9]{b}
\FromStep[10]{c}
\StopSteps
\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The problem lies in:

\def\FromStep[#1]{%
   \steps@updatenumber#1%
...

The second line should be
   \steps@updatenumber(#1)%
otherwise \steps@Updatenumber becomes only 1 as input and typesets the 
zero on the document.

In the same art some more lines are to be fixed.

Mojca

                 reply	other threads:[~2005-06-07 20:44 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=42A60742.5090109@gmail.com \
    --to=mojca.miklavec.lists@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).