Re: [NTG-context] Steps in presentation

2015-01-03 Thread Jeong Dal
Dear Fabrice,

The following code is working in my mac. I tried your first code and it is 
working after adding \setupinteraction[].
Since I didn’t use ‘rsteps’ module, I could’t test the second code.

My ConTeXt version is as following.

ConTeXt  ver: 2014.12.21 22:25 MKIV beta  fmt: 2014.12.26  int: english/english


\setupinteraction[state=start]
\setupcolors[state=start] 

\usemodule[pre-60]

\setuppapersize[S4][S4]

\starttext

\StartSteps 
\startformula \startalign
\NC x^2 + y^2  \NC  = z^2 \NR \FlushStep
\NC   x^2 + y^2   \NC = z^2 \NR  \FlushStep
\stopalign\stopformula
\StopSteps
\stoptext

I hope that this helps.

Best regards,

Dalyoung


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Steps in presentation

2015-01-02 Thread Fabrice L.

pol stra ryzz at hotmail.fr writes:

  Hello,I tried to use some steps in a presentation.  In the following
conversationhttp://www.mail-archive.com/ntg-context at
ntg.nl/msg53524.html, Wolfgang saysthat we can use the pre-60 module. 
So I tried this snippet:\usemodule[pre-
stepwise]\starttext\StartSteps\startitemize\item one \FlushStep\item two
\FlushStep\item three \FlushStep\stopitemize\StopSteps\stoptextBut it
does not compile:ConTeXt  ver: 2012.09.11 20:36 MKIV  fmt: 2012.9.12 
int: english/englishsystem   cont-new.mkiv
loaded(/opt/context-minimals/texmf-context/tex/context/base/cont-new.
mkivsystem   beware: some patches loaded from
cont-new.mkiv)fonts    latin modern fonts are not
preloadedlanguages    language en is
active(pre60.texresolvers    modules  loaded:
'pre-stepwise'(/opt/context-minimals/texmf-context/tex/context/base/s-
pre-60.mkivfonts    beware: no fonts are loaded yet, using 'lm
mono' in box(/opt/context-minimals/texmf-
context/tex/context/base/java-imp-stp.mkiv)interactions     javascripts
 loaded: library 'stp'metapost     loaded: library 'nav'
(/opt/context-minimals/texmf-
context/tex/context/base/meta-imp-nav.mkiv)){/opt/context-minimals/texmf
- fonts/fonts/map/pdftex/context/mkiv-base.map}fonts   
preloading latin modern fonts (second stage)fonts   
typescripts  unknown: library 'loc'{/opt/context-minimals/texmf-
fonts/fonts/map/dvips/lm/lm-math.map}{/opt/context-minimals/texmf-
fonts/fonts/map/dvips/lm/lm-rm.map}fonts    virtual math 
unable to resolve name mapsfromcharfonts    fallback modern rm
12pt is loaded!LuaTeX error: There should have been a lua node here,
not an object with type string! == Fatal error occurred, no output PDF
file produced!Is there something broken in recent release of conteXt? 
By the way It seemsthere is no Rawsteps module anymore but it still is
in the wiki. Is there issomething like a bugtracker for conteXt, in
order to signal when  a feature isnot working or outdated and signal
when it is back (or definitly depreciate)?(it would be a complementary
tool for the mailing list)   



I'm following on an old thread about the RawSteps Module, which is
broken in MKIV. Trying to move to MKIV, this is a no go for me since I
absolutely need this module for teaching. I've contacted David Munger,
the author of the module,  last September, which had been a real helper
in the past about this module, but he has presently no time to work on
this. If someone know how to fix the problem, I provide a short minimal
exemple:

%%% \enableregime[utf] 
\usemodule[rsteps]

\setupcolors[state=start] \setuppapersize[S4][S4]

\starttext

\StartSteps \startformula 
 \eqalign{ P[\text{atteindre l'état}\ j | \text{partant de } i] 
   = P\left[\bigcup_{n=0}^\infty (X_n=j)| X_0 = i\right]\cr
   \leq \sum_{n=0}^\infty P[X_n=j|X_0=i]\cr 
   =\sum_{n=0}^\infty P_{ij}^n =0 \cr } 
\stopformula \StopSteps

\StartSteps \startformula
\eqalign{
  \FromStep[1][reserve]{P[\text{atteindre l'état}\ j | \text{partant de } i]} 
  \FromStep[1][reserve]{= P\left[\bigcup_{n=0}^\infty (X_n=j)| X_0 = 
i\right]}\cr 
  \FromStep[2][reserve]{\leq \sum_{n=0}^\infty P[X_n=j|X_0=i]}\cr 
  \FromStep[3][reserve]{=\sum_{n=0}^\infty P_{ij}^n =0 }\cr } 
\stopformula
\StopSteps

\stoptext 
 


Also, here is the contextHarden link:
http://wiki.contextgarden.net/RawSteps

If somebody know another solution to show content by step in a page, I
would be happy to know about it. Thanks, Fabrice.


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Steps in presentation

2012-09-12 Thread pol stra
Hello,

I tried to use some steps in a presentation.  In the following conversation
http://www.mail-archive.com/ntg-context@ntg.nl/msg53524.html, Wolfgang says
that we can use the pre-60 module.  So I tried this snippet:

\usemodule[pre-stepwise]

\starttext

\StartSteps

\startitemize
\item one \FlushStep
\item two \FlushStep
\item three \FlushStep
\stopitemize

\StopSteps

\stoptext

But it does not compile:

ConTeXt  ver: 2012.09.11 20:36 MKIV  fmt: 2012.9.12  int: english/english

system   cont-new.mkiv loaded
(/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
fontslatin modern fonts are not preloaded
languageslanguage en is active
(pre60.tex
resolversmodules  loaded: 'pre-stepwise'
(/opt/context-minimals/texmf-context/tex/context/base/s-pre-60.mkiv
fontsbeware: no fonts are loaded yet, using 'lm mono' in box
(/opt/context-minimals/texmf-context/tex/context/base/java-imp-stp.mkiv)
interactions javascripts  loaded: library 'stp'
metapost loaded: library 'nav' 
(/opt/context-minimals/texmf-context/tex/context/base/meta-imp-nav.mkiv)){/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded

!LuaTeX error: There should have been a lua node here, not an object with 
type string!
 == Fatal error occurred, no output PDF file produced!


Is there something broken in recent release of conteXt?  By the way It seems
there is no Rawsteps module anymore but it still is in the wiki. Is there is
something like a bugtracker for conteXt, in order to signal when  a feature is
not working or outdated and signal when it is back (or definitly depreciate)?
(it would be a complementary tool for the mailing list)
  ___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Steps in presentation (pol stra)

2012-09-12 Thread Jeong Dalyoung

Dear Pol stra,

I run your sample and got the same error.
After changing pre-stepwise to pre-60, I run it again, but the same error 
occurs.


 !LuaTeX error: There should have been a lua node here, not an object with 
 type string!
 == Fatal error occurred, no output PDF file produced!
 

I checked my file which include \StartSteps … \StopSteps  and got the same 
error. It was working well before.

Unfortunately, I don't know what is the problem. Experts will answer to it soon.

My ConTeXt version is :

This is LuaTeX, Version beta-0.70.2-2012052309 (TeX Live 2012)
…
ConTeXt ver: 2012.09.04 18:08 MKIV fmt: 2012.9.5 int: english/english

Best regards,

Dalyoung

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___