ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* small bugfix: module t-rsteps, more than 9 slides not possible
@ 2005-06-07 20:44 Mojca Miklavec
  0 siblings, 0 replies; only message in thread
From: Mojca Miklavec @ 2005-06-07 20:44 UTC (permalink / 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

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

only message in thread, other threads:[~2005-06-07 20:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-07 20:44 small bugfix: module t-rsteps, more than 9 slides not possible Mojca Miklavec

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