[texhax] powerdot itemize using enumitem with xkeyval is broken

Thomas Schneider schneidt at mail.nih.gov
Thu Oct 4 18:28:22 CEST 2012


Texhaxers:

This works:

\documentclass[12pt]{article}
% Thomas D. Schneider, Ph.D.
% National Institutes of Health
% National Cancer Institute
% Gene Regulation and Chromosome Biology Laboratory
% Molecular Information Theory Group
% Frederick, Maryland  21702-1201
% http://alum.mit.edu/www/toms
\newcommand{\theversion}
   {{version = 1.00 of enumitem.tex 2012 Oct 04 }}
% 2012 Oct 04, 1.00: origin
\usepackage{enumitem}
\begin{document}
\begin{itemize}[leftmargin=1pt,labelsep=3pt,itemsep=6pt]
\item EcoRI - restriction enzyme %, \\ basis of genetic engineering
\item EcoRI binds DNA at $5'$ GAATTC $3'$
\item information required: \\
$6$ bases $\times$ $2$ bits per base $=$ \fbox{12 bits} \\
\end{itemize}
\end{document}

But using the itemize controls in powerdot crashes:

\documentclass{powerdot}
% Thomas D. Schneider, Ph.D.
% National Institutes of Health
% National Cancer Institute
% Gene Regulation and Chromosome Biology Laboratory
% Molecular Information Theory Group
% Frederick, Maryland  21702-1201
% http://alum.mit.edu/www/toms
\newcommand{\theversion}
   {{version = 1.00 of pe.tex 2012 Oct 04 }}
% 2012 Oct 04, 1.00: origin
\usepackage{enumitem}
\begin{document}
\begin{wideslide}{Information of EcoRI DNA Binding}
\vspace{8.6cm}\hspace{0cm}% start at lower left point
\rput[bl]{0}(0.0,1.8){%
\parbox[t][5.0cm][t]{8.0cm}{% \parbox[c][\height][t]{\width}%
\begin{itemize}[leftmargin=1pt,labelsep=3pt,itemsep=6pt]
\item EcoRI - restriction enzyme %, \\ basis of genetic engineering
\item EcoRI binds DNA at $5'$ GAATTC $3'$
\item information required: \\
$6$ bases $\times$ $2$ bits per base $=$ \fbox{12 bits} \\
\end{itemize}
}%
}%
\end{wideslide}
\end{document}

with the error:

! Package xkeyval Error: ‘leftmargin’ undefined in families ‘enumitem’.
See the xkeyval package documentation for explanation. Type H <return> for immediate help.
 ...
l.26 \end{wideslide}
?
! Emergency stop.
 ...
l.26 \end{wideslide}

Further, changing the line to comment out the itemize controls:
\begin{itemize}%[leftmargin=1pt,labelsep=3pt,itemsep=6pt]
works.

I'm using the latest of everything from TeX Live 2012:

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) (format=latex 2012.9.5)  4 OCT 2012 12:08

My log file gives:

/usr/local/texlive/2012/texmf-dist/tex/latex/powerdot/powerdot.cls
Document Class: powerdot 2012/03/13 v1.4i powerdot presentation class (HA,CE,hv)

http://www.ctan.org/pkg/powerdot

says the latest version is indeed 1.4i.

Summary:  itemize with enumitem and xkeyval controls work in TeX Live
2012.  However, they fail when inside a PowerDot slide.

Help!!

Tom

  Thomas D. Schneider, Ph.D.
  Senior Investigator
  National Institutes of Health
  National Cancer Institute
  Frederick National Laboratory for Cancer Research
  Gene Regulation and Chromosome Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  http://alum.mit.edu/www/toms


More information about the texhax mailing list