ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Questions about the rsteps module.
@ 2005-12-31 19:34 Fabrice Larribe
  2006-01-01 18:07 ` Mojca Miklavec
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabrice Larribe @ 2005-12-31 19:34 UTC (permalink / raw)


Hi,

    I'm presently trying to do slide, and I need to make things appear 
by steps. So, I've found the rsteps module, but I'm having
some problems to use it. Here are my questions. I appreciate any hints 
or help.

1) When I define a theorem in a slide with steps, my theorem 1 is 
theorem 2 at the second step. How to control this ?

2) I wish to use the same text to print (wihout steps) and with slide 
(with steps). If I comment the "\usemodule [rsteps]", the instructions
\StartSteps \NextStep.. are unknown of course, so how should I redefine 
them ? I guess I should provide new definitions only for screen mode ? 
Is there a simpler solution ? .

3) On each slide, the header contains the page number, which appears 
only at the last step of the slide.The same effect occurs with the footline
which appears only at last step of a slide. Is there a way to correct 
this ? ie I wish the header and footer do not change, so the steps are 
more transparent.

    Thanks for help.
    Fabrice.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions about the rsteps module.
  2005-12-31 19:34 Questions about the rsteps module Fabrice Larribe
@ 2006-01-01 18:07 ` Mojca Miklavec
  2006-01-01 18:48 ` Peter Münster
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2006-01-01 18:07 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]

Fabrice Larribe wrote:
> Hi,
>
>     I'm presently trying to do slide, and I need to make things appear
> by steps. So, I've found the rsteps module, but I'm having
> some problems to use it. Here are my questions. I appreciate any hints
> or help.

I may be wrong, but I'm afraid that I have to disappoint you for
almost all the request that you mentioned unless someone implements
them in the near future (I guess that many people would need this
functionality anyway). t-rsteps is still experimental in a way. It
works, but not for very advanced usage. Hans wrote some modules to
provide similar functionality, but they all rely on JavaScript.

> 1) When I define a theorem in a slide with steps, my theorem 1 is
> theorem 2 at the second step. How to control this ?

As far as I know, the code is implemented in such a way that it only
controls at which step to process the code. It means that if you write
a theorem once on the first slide and once on the second, it will be
processed twice and TeX will see it as a new theorem.

Some code was written to hack treating the equation numbers and
chapter/section numbers. I don't know how you write and number
theorems, but you can manually reset the theorem number to one number
less the the current one and then increment it again at the end of
slide, although this is tedious.

I don't know to which extent you can read the TeX source code (it's
much uglier than for any other usual programming language). It should
be possible to mimic the behaviour of resetting equation numbers, but
don't ask me how to do that.

Yet another approach would be to save everything in a box and then
output only the box. I don't know how well this works (if it works at
all).

\setbox2=\vbox{ here comes your theorem }
\FromStep[2]{\copy2}

All the mentioned solutions are ugly.

> 2) I wish to use the same text to print (wihout steps) and with slide
> (with steps). If I comment the "\usemodule [rsteps]", the instructions
> \StartSteps \NextStep.. are unknown of course, so how should I redefine
> them ? I guess I should provide new definitions only for screen mode ?
> Is there a simpler solution ? .

There is a switch \UseStepsfalse. (I don't know if this satisfies your
needs - there are some differences, ie: there may be problems with
Table of Contents or similar.)

> 3) On each slide, the header contains the page number, which appears
> only at the last step of the slide.The same effect occurs with the footline
> which appears only at last step of a slide. Is there a way to correct
> this ? ie I wish the header and footer do not change, so the steps are
> more transparent.

No idea.

Sorry for being of almost no help and for bringing bad news only,
    Mojca

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions about the rsteps module.
  2005-12-31 19:34 Questions about the rsteps module Fabrice Larribe
  2006-01-01 18:07 ` Mojca Miklavec
@ 2006-01-01 18:48 ` Peter Münster
       [not found] ` <B3C24EA955FF0C4EA14658997CD3E25E5AE5FE@CAHIER.gst.uqam.ca>
       [not found] ` <B3C24EA955FF0C4EA14658997CD3E25E5AE601@CAHIER.gst.uqam.ca>
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Münster @ 2006-01-01 18:48 UTC (permalink / raw)


On Sat, 31 Dec 2005, Fabrice Larribe wrote:

> 2) I wish to use the same text to print (wihout steps) and with slide 
> (with steps). If I comment the "\usemodule [rsteps]", the instructions
> \StartSteps \NextStep.. are unknown of course, so how should I redefine 
> them ? I guess I should provide new definitions only for screen mode ? 
> Is there a simpler solution ? .

\UseStepsfalse
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions about the rsteps module.
       [not found] ` <B3C24EA955FF0C4EA14658997CD3E25E5AE5FE@CAHIER.gst.uqam.ca>
@ 2006-01-02 15:40   ` Fabrice Larribe
  0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Larribe @ 2006-01-02 15:40 UTC (permalink / raw)


Hi,

Mojca Miklavec wrote:

>
> I may be wrong, but I'm afraid that I have to disappoint you for
> almost all the request that you mentioned unless someone implements
> them in the near future (I guess that many people would need this
> functionality anyway). t-rsteps is still experimental in a way. It
> works, but not for very advanced usage. Hans wrote some modules to
> provide similar functionality, but they all rely on JavaScript.
>
Thanks for your feed-back. I wish somebody will work on this
or a similar macro one day, and we have in Context a way
to deal with these simple animations, like what offers the beamer
package in Latex.
About the javascript macro wrote by Hans, it is a little risky, since
when you made a presentation, you have nerver sure what
computer and acrobat version you are going to present.

> > 1) When I define a theorem in a slide with steps, my theorem 1 is
> > theorem 2 at the second step. How to control this ?
>
> As far as I know, the code is implemented in such a way that it only
> controls at which step to process the code. It means that if you write
> a theorem once on the first slide and once on the second, it will be
> processed twice and TeX will see it as a new theorem.
>
> Some code was written to hack treating the equation numbers and
> chapter/section numbers. I don't know how you write and number
> theorems, but you can manually reset the theorem number to one number
> less the the current one and then increment it again at the end of
> slide, although this is tedious.
>
> I don't know to which extent you can read the TeX source code (it's
> much uglier than for any other usual programming language). It should
> be possible to mimic the behaviour of resetting equation numbers, but
> don't ask me how to do that.
>
> Yet another approach would be to save everything in a box and then
> output only the box. I don't know how well this works (if it works at
> all).
>
> \setbox2=\vbox{ here comes your theorem }
> \FromStep[2]{\copy2}
>
> All the mentioned solutions are ugly.
>
I have tried your solutions based on putting the theorem in a vbox, but 
this does not work.
Yes I have seen a discussion on this mailing list where the author of 
t-rsteps modify
the macro to handle equations numbers. So this may be possible. I had a 
look on the macro,
perhaps I will try to do something, but this is a huge work since I'm 
not so fluent in Tex macro...
Perhaps ths simple solution is to number theorem manually, but this pose 
a problem, since
I have others enumerations in the document (Definition, Exemples...).
I can cheat and adjust counters at each step in screen mode, but I'm not 
sure how to do this: there is a command
\setEnumeration{value} and \nextEnumeration, but no \previousEnumeration...

> > 2) I wish to use the same text to print (wihout steps) and with slide
> > (with steps). If I comment the "\usemodule [rsteps]", the instructions
> > \StartSteps \NextStep.. are unknown of course, so how should I redefine
> > them ? I guess I should provide new definitions only for screen mode ?
> > Is there a simpler solution ? .
>
> There is a switch \UseStepsfalse. (I don't know if this satisfies your
> needs - there are some differences, ie: there may be problems with
> Table of Contents or similar.)
>
I did not know the \UseStepsfalse option. This seems to work nice. Thanks.

> > 3) On each slide, the header contains the page number, which appears
> > only at the last step of the slide.The same effect occurs with the 
> footline
> > which appears only at last step of a slide. Is there a way to correct
> > this ? ie I wish the header and footer do not change, so the steps are
> > more transparent.
>
> No idea.
>
> Sorry for being of almost no help and for bringing bad news only,
>     Mojca
>
>  
>
Thanks anyways for your answers, sometimes to know that something is 
impossible
and likely difficult  is valuable !
Fabrice L.

>------------------------------------------------------------------------
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>  
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions about the rsteps module.
       [not found] ` <B3C24EA955FF0C4EA14658997CD3E25E5AE601@CAHIER.gst.uqam.ca>
@ 2006-01-02 15:42   ` Fabrice Larribe
  0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Larribe @ 2006-01-02 15:42 UTC (permalink / raw)


Peter Münster wrote:

> On Sat, 31 Dec 2005, Fabrice Larribe wrote:
>
> > 2) I wish to use the same text to print (wihout steps) and with slide
> > (with steps). If I comment the "\usemodule [rsteps]", the instructions
> > \StartSteps \NextStep.. are unknown of course, so how should I redefine
> > them ? I guess I should provide new definitions only for screen mode ?
> > Is there a simpler solution ? .
>
> \UseStepsfalse
> Cheers, Peter
>
Thanks for the answer. Mojca Miklavec also mentionned this which
I did not know. This resolves one of my problem. I'm still
working on the others !
Fabrice L.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-01-02 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-31 19:34 Questions about the rsteps module Fabrice Larribe
2006-01-01 18:07 ` Mojca Miklavec
2006-01-01 18:48 ` Peter Münster
     [not found] ` <B3C24EA955FF0C4EA14658997CD3E25E5AE5FE@CAHIER.gst.uqam.ca>
2006-01-02 15:40   ` Fabrice Larribe
     [not found] ` <B3C24EA955FF0C4EA14658997CD3E25E5AE601@CAHIER.gst.uqam.ca>
2006-01-02 15:42   ` Fabrice Larribe

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