IncludePicture problem with adityam / simple-slides
![](https://secure.gravatar.com/avatar/578bf9e7738884f0f47ad0f6fe24e51d.jpg?s=120&d=mm&r=g)
Hello, I'm having some problems with "simple-slides". I'm pretty new to ConTeXt - so I've probably done something silly. When I try to use the \IncludePicture command like this: \IncludePicture [horizontal] [test] {A Dutch Cow} I get the errors like "! Missing number, treated as zero" and "! Missing = inserted for \ifnum" (see below). I'm using MacTex-2008 distribution. I've also tried the current context minimals - but got the same result. thanks Glen ------------- (/usr/local/texlive/2008/texmf-dist/tex/context/base/sort-lan.mkii)) [1.1] ! Missing number, treated as zero. <to be read again> e \s!empty ->e mpty \externalfigurestamp .! Missing = inserted for \ifnum. <to be read again> e \s!empty ->e mpty \externalfigurestamp ... \ifnum \wantedfigurepage >\zeropoint - \wantedfigure... \doifobjectfoundelse ...\ifcsname \r!object #1::#2 \endcsname \elabelgroup \e... <argument> ...foundelse {FIG}\externalfigurestamp {\doshowfigurestate {objec... \firstoftwoarguments #1#2->#1 ... l.27 {A Dutch Cow} ? \firstoftwoarguments #1#2->#1 ... l.27 {A Dutch Cow} ?
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 2 Nov 2009, Glen Callaghan wrote:
Hello,
I'm having some problems with "simple-slides". I'm pretty new to ConTeXt - so I've probably done something silly.
No. This is probably due to some recent change in ConTeXt. I pushed a fix to github. See if the new version works for you.
When I try to use the \IncludePicture command like this:
\IncludePicture [horizontal] [test] {A Dutch Cow}
I get the errors like "! Missing number, treated as zero" and "! Missing = inserted for \ifnum" (see below).
Thomas, we would need to update a new version to contextgarden. This bug will affect all new versions of mkii. The bug was because I was misusing moduleparameter where I should have used variables instead. Something must have changed in MkII recently. The behaviour does not occur in MkIV so I never noticed it. In any case, this was long overdue and would make Wolfgang happy :) Aditya
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On Nov 2, 2009, at 7:42 AM, Aditya Mahajan wrote:
Thomas, we would need to update a new version to contextgarden. This bug will affect all new versions of mkii.
Aditya, will do. Are you trying to sort out the problem with the \noexpand in simpleslides-s-Split.tex? If so, I would wait a bit... I haven't used the module with mkii in a long time, such bugs can indeed go undetected. Thanks for the fix, and all best Thomas
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 2 Nov 2009, Thomas A. Schmitz wrote:
On Nov 2, 2009, at 7:42 AM, Aditya Mahajan wrote:
Thomas, we would need to update a new version to contextgarden. This bug will affect all new versions of mkii.
will do. Are you trying to sort out the problem with the \noexpand in simpleslides-s-Split.tex? If so, I would wait a bit... I haven't used the module with mkii in a long time, such bugs can indeed go undetected.
Thomas, I have corrected that. I also don't use the module with mkii, so at some point we need to properly test everything with mkii again. I haven't updated the documentation (two new styles, BoxedTitle and PlainCounter), but that can wait. Please upload the current version of the module to the garden. Aditya
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On Nov 2, 2009, at 6:05 PM, Aditya Mahajan wrote:
Thomas,
I have corrected that. I also don't use the module with mkii, so at some point we need to properly test everything with mkii again.
I haven't updated the documentation (two new styles, BoxedTitle and PlainCounter), but that can wait. Please upload the current version of the module to the garden.
Aditya
Done. Thanks for fixing this, and Glen, thanks for the bug report! Best Thomas
participants (3)
-
Aditya Mahajan
-
Glen Callaghan
-
Thomas A. Schmitz