2

I am trying to use SlideWithSteps using the following piece of code

\usemodule[visualcounter]
\usemodule[simpleslides]
\usemodule[SlideWithSteps]
\setupTitle
  [ title={Simple Slides?},
    author={name},
    date={10 July, 2016},
  ]

\starttext
\placeTitle

\SlideTitle {The first slide}
Write whatever you want.

\SlideWithSteps{3}{
\SlideTitle {The third slide}

\Step{1}{
\startitemize
    \starthead {1}
    para 1
    \startitemize 
    \item item 1
    \item item 2
    \stopitemize
\stopitemize
}

\Step{2}{
{\vskip 2pt}
\startitemize
    \starthead {1}
    para 1
    \startitemize 
    \item item 1
    \item item 2
    \stopitemize
\stopitemize
\stoptext

When I compile, I obtain the following error:

tex error on line 33 in file      /Users/kaarthik/Documents/contexttest/SlideWithSteps/example.tex: ! Undefined control sequence

Line 33 is \SlideWithSteps{3}{

Any help with this issue is appreciated.

Thanks

  • This isn't a MWE, is it? – DG' Jul 3 '16 at 14:46
  • @DG' What is a MWE? – user62089 Jul 3 '16 at 15:46
  • 1
    minimal working example (MWE) – DG' Jul 3 '16 at 17:16
  • 1
    Can you provide a complete example that we can run to show the problem? Most likely you have forgotten to load something that defined the SlideWithSteps environment. – Thruston Jul 8 '16 at 9:53
  • 1
    @user62089 The SlideWithSteps module (wiki.contextgarden.net/SlideWithSteps) uses the \eject command to flush a page after each step but the command doesn’t exist anymore in MkIV and you have to replace it with \page to get the module working. – Wolfgang Schuster Jul 10 '16 at 13:17
1

Making Wolfgang's comment into an answer:

The SlideWithSteps module (wiki.contextgarden.net/SlideWithSteps) uses the \eject command to flush a page after each step but the command doesn’t exist anymore in MkIV and you have to replace it with \page to get the module working.

I just fixed it in the Wiki, so you can straight copy-paste from there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.