David Griffel | 13 Jul 11:58 2011
Picon

problem with lists using MikTeX 2.9

I have used powerdot with MikTex 2.8, no problems.  Now I have upgraded to MikTex 2.9, and when there's a list, it fails to compile.  Works OK as long as there are no list environments.

Minimal example:

\documentclass[style=simple]{powerdot}

\begin{document}

\begin{slide}{}

Hello

\begin{itemize}

\item world

\end{itemize}

\end{slide}

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I compile using latex - dvips - ps2pdf - view pdf

It fails with error message:


! Undefined control sequence.

<argument> enit <at> cw <at> \ <at> enumctr

l.12 \end{slide}

The control sequence at the end of the top line

of your error message was never \def'ed.


I'm an ordinary Latex user, and I've no idea what's going on.
I'd appreciate any advice or help.
David 
Mordechai Ben-Ari | 13 Jul 12:37 2011
Picon
Picon

Re: problem with lists using MikTeX 2.9

Hi David,

I tried your example using several different styles: it didn't work with default, simple and ikeda, but it
works OK with fyma and sailor. I prefer them anyway :-).

It seems to be a problem with installing packages in MikTeX rather than a powerdot problem, so I suggest
raising the issue on the MikTeX mailing list.

Moti

 >>>
> I have used powerdot with MikTex 2.8, no problems.  Now I have upgraded to
> MikTex 2.9, and when there's a list, it fails to compile.  Works OK as long
> as there are no list environments.
> 
> Minimal example:
> 
> \documentclass[style=simple]{powerdot}
> 
> \begin{document}
> 
> \begin{slide}{}
> 
> Hello
> 
> \begin{itemize}
> 
> \item world
> 
> \end{itemize}
> 
> \end{slide}
> 
> \end{document}
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
>  I compile using latex - dvips - ps2pdf - view pdf
> 
> It fails with error message:
> 
> 
> ! Undefined control sequence.
> 
> <argument> enit <at> cw <at> \ <at> enumctr
> 
> l.12 \end{slide}
> 
> The control sequence at the end of the top line
> 
> of your error message was never \def'ed.
> 
> 
> I'm an ordinary Latex user, and I've no idea what's going on.
> I'd appreciate any advice or help.
> David
> 

David Griffel | 13 Jul 13:03 2011
Picon

Re: problem with lists using MikTeX 2.9

Moti,

thanks for your reply.  For me, it doesn't work with fyma or sailor
styles either.

I guess I can work around it by not using list environments - I  only
use them in the introductory page of a mathematical presentation
anyway.

best wishes,
David

On Wed, Jul 13, 2011 at 11:37 AM, Mordechai Ben-Ari
<Moti.Ben-Ari <at> weizmann.ac.il> wrote:
> Hi David,
>
> I tried your example using several different styles: it didn't work with default, simple and ikeda, but it
works OK with fyma and sailor. I prefer them anyway :-).
>
> It seems to be a problem with installing packages in MikTeX rather than a powerdot problem, so I suggest
raising the issue on the MikTeX mailing list.
>
> Moti
>
>  >>>
>> I have used powerdot with MikTex 2.8, no problems.  Now I have upgraded to
>> MikTex 2.9, and when there's a list, it fails to compile.  Works OK as long
>> as there are no list environments.
>>
>> Minimal example:
>>
>> \documentclass[style=simple]{powerdot}
>>
>> \begin{document}
>>
>> \begin{slide}{}
>>
>> Hello
>>
>> \begin{itemize}
>>
>> \item world
>>
>> \end{itemize}
>>
>> \end{slide}
>>
>> \end{document}
>>
>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>
>>  I compile using latex - dvips - ps2pdf - view pdf
>>
>> It fails with error message:
>>
>>
>> ! Undefined control sequence.
>>
>> <argument> enit <at> cw <at> \ <at> enumctr
>>
>> l.12 \end{slide}
>>
>> The control sequence at the end of the top line
>>
>> of your error message was never \def'ed.
>>
>>
>> I'm an ordinary Latex user, and I've no idea what's going on.
>> I'd appreciate any advice or help.
>> David
>>
>
>
>

Mordechai Ben-Ari | 13 Jul 13:10 2011
Picon
Picon

Re: problem with lists using MikTeX 2.9

> thanks for your reply.  For me, it doesn't work with fyma or sailor
> styles either.

Strange.

I don't know if you're using some environment,
but I suggest running latex from the Command window.
Then you detailed notes from MikTeX on what packages
it is trying to load.

Moti

David Griffel | 13 Jul 18:44 2011
Picon

Re: problem with lists using MikTeX 2.9

Thanks for your advice to try the Miktex list.  I did that, and got the following helpful reply, which fixes the problem for me.


best wishes,
David

You are in luck. That's "only" a enumitem bug. enumitem uses
\ <at> enumctr in the argument of an \ <at> ifundefined command. But as
\ <at> enumctr is not defined in an (unnumbered) itemize list you get an
error.

I have sent a bug report to the author.

Try

\makeatletter
\providecommand\ <at> enumctr{}
\makeatother

until enumitem is updated.

Btw: The newest enumitem has changed quite a lot internals. Most
importantly it no longer uses the standard \define <at> key and \setkeys
command from (x)keyval (to avoid compability problems with xkeyval).
As powerdot uses xkeyval, defines some additional keys for enumitem
and does a lot of key settings it is quite possible that this
changes will break something.


On Wed, Jul 13, 2011 at 12:10 PM, Mordechai Ben-Ari <Moti.Ben-Ari <at> weizmann.ac.il> wrote:
> thanks for your reply.  For me, it doesn't work with fyma or sailor
> styles either.

Strange.

I don't know if you're using some environment,
but I suggest running latex from the Command window.
Then you detailed notes from MikTeX on what packages
it is trying to load.

Moti





Gmane