Brandon Kuczenski | 11 Oct 2011 07:56

Loss of itemize control?

I am trying to figure out what has changed about my system after a recent 
major upgrade that has stopped my slideshows from building.  It seems 
there has been a change to the management of the key=value parser.

The end result is that I can no longer pass contingent arguments to 
itemize environments.. i.e. Exhibit A compiles:
====
\documentclass{powerdot}
\pdsetup{itemize={topsep=5pt}}

\begin{document}
\begin{slide}{Test slide}
\begin{itemize}
\item This example compiles.
\end{itemize}
\end{slide}
\end{document}
=====

But Exhibit B does not:
====
\documentclass{powerdot}

\begin{document}
\begin{slide}{Test slide}
\begin{itemize}[topsep=5pt]
\item This example does not compile, saying `topsep' is not a defined key.
\end{itemize}
\end{slide}
\end{document}
(Continue reading)

Herbert Voss | 11 Oct 2011 08:43
Picon
Picon
Favicon

Re: Loss of itemize control?

Am 11.10.2011 07:56, schrieb Brandon Kuczenski:
> I am trying to figure out what has changed about my system after a
> recent major upgrade that has stopped my slideshows from building. It
> seems there has been a change to the management of the key=value parser.
>
> The end result is that I can no longer pass contingent arguments to
> itemize environments.. i.e. Exhibit A compiles:

[...]

> But Exhibit B does not:
> ====
> \documentclass{powerdot}
>
> \begin{document}
> \begin{slide}{Test slide}
> \begin{itemize}[topsep=5pt]
> \item This example does not compile, saying `topsep' is not a defined key.
> \end{itemize}
> \end{slide}
> \end{document}
> ====
>
> Because the new xkeyval is not compatible with enumitem, I infer that
> Powerdot's dependency on both xkeyval and enumitem has forced
> powerdot.cls to re-implement key-value parsing for list environments,
> with unfortunate consequences.
>
> Is there a work around? or do I simply have to revise ALL my old
> slideshows?
(Continue reading)

Brandon Kuczenski | 11 Oct 2011 09:02

Re: Loss of itemize control?

On Tue, 11 Oct 2011, Herbert Voss wrote:

> Am 11.10.2011 07:56, schrieb Brandon Kuczenski:
>> I am trying to figure out what has changed about my system after a
>> recent major upgrade that has stopped my slideshows from building. It
>> seems there has been a change to the management of the key=value parser.
>> 
>> The end result is that I can no longer pass contingent arguments to
>> itemize environments.. i.e. Exhibit A compiles:
>
> [...]
>
>> But Exhibit B does not:
>> ====
>> \documentclass{powerdot}
>> 
>> \begin{document}
>> \begin{slide}{Test slide}
>> \begin{itemize}[topsep=5pt]
>> \item This example does not compile, saying `topsep' is not a defined key.
>> \end{itemize}
>> \end{slide}
>> \end{document}
>> ====
>> 
>> Because the new xkeyval is not compatible with enumitem, I infer that
>> Powerdot's dependency on both xkeyval and enumitem has forced
>> powerdot.cls to re-implement key-value parsing for list environments,
>> with unfortunate consequences.
>> 
(Continue reading)

Luis Sequeira | 11 Oct 2011 08:44
Picon

Re: Loss of itemize control?


On Oct 11, 2011, at 6:56 AM, Brandon Kuczenski wrote:

> I am trying to figure out what has changed about my system after a recent major upgrade that has stopped my
slideshows from building.  It seems there has been a change to the management of the key=value parser.
> 
> ====
> ...

> Because the new xkeyval is not compatible with enumitem, I infer that Powerdot's dependency on both
xkeyval and enumitem has forced powerdot.cls to re-implement key-value parsing for list environments,
with unfortunate consequences.
> 
> Is there a work around? or do I simply have to revise ALL my old slideshows?
> 
> -Brandon
> 
> 

I have tried your exhibit B on my machine, with TeXLive 2010, and it worked perfectly.
I then installed TeXLive 2011 and it again worked perfectly. My guess is that something on your system is
interfering. Maybe you have an old version of some package in your personal tex tree that is being used.
Take a look at your log file; it should show you the versions of each package that are being used to typeset
your document.

For instance, for enumitem, mine says:

(/usr/local/texlive/2011/texmf-dist/tex/latex/enumitem/enumitem.sty
Package: enumitem 2009/05/18 v2.2 Customized lists
\enit <at> toks=\toks24
(Continue reading)

Herbert Voss | 11 Oct 2011 08:57
Picon
Picon
Favicon

Re: Loss of itemize control?

Am 11.10.2011 08:44, schrieb Luis Sequeira:

> I then installed TeXLive 2011 and it again worked perfectly. My guess is that something on your system is
interfering. Maybe you have an old version of some package in your personal tex tree that is being used.
Take a look at your log file; it should show you the versions of each package that are being used to typeset
your document.
>
> For instance, for enumitem, mine says:
>
> (/usr/local/texlive/2011/texmf-dist/tex/latex/enumitem/enumitem.sty
> Package: enumitem 2009/05/18 v2.2 Customized lists
> \enit <at> toks=\toks24
> \labelindent=\skip48
> \enit <at> outerparindent=\dimen138
> \enitdp <at> desc=\count130

you TeXLive is not up-to-date! enumitem is if version 3.5.2

Herbert

Luis Sequeira | 11 Oct 2011 10:10
Picon

Re: Loss of itemize control?


On Oct 11, 2011, at 7:57 AM, Herbert Voss wrote:

> Am 11.10.2011 08:44, schrieb Luis Sequeira:
> 
>> I then installed TeXLive 2011 and it again worked perfectly. My guess is that something on your system is
interfering. Maybe you have an old version of some package in your personal tex tree that is being used.
Take a look at your log file; it should show you the versions of each package that are being used to typeset
your document.
>> 
>> For instance, for enumitem, mine says:
>> 
>> (/usr/local/texlive/2011/texmf-dist/tex/latex/enumitem/enumitem.sty
>> Package: enumitem 2009/05/18 v2.2 Customized lists
>> \enit <at> toks=\toks24
>> \labelindent=\skip48
>> \enit <at> outerparindent=\dimen138
>> \enitdp <at> desc=\count130
> 
> you TeXLive is not up-to-date! enumitem is if version 3.5.2
> 
> Herbert
> 

Thanks for pointing that out, it's good to know. Obviously, it must have been updated after the release of
TeXLive 2011 (which I have installed using the MacTeX distribution).

Luis

(Continue reading)


Gmane