Correct use of \value{step} in \overlays ?

[email protected] Fri, 3 Sep 2004 13:57:18 +0200
Newsgroups gmane.comp.tex.texpower.user
Message-ID <[email protected]>
Hi all,

another tricky question here: It seems that setting 
\overlays[\value{step}=1]{3}{\stepcontents} shows all overlays side by
side for the first step and the second step and third step both show the
results of the third step ???

I have attached an example below for illustration. How do I accomplish
that for each \item on the left the corresponding image is displayed on
the right ? Or to rephrase the question: \overlays{3}{\stepcontents} 
works as expected, how do I move its steps backwards to coincide with
the ones in itemize ? 

\documentclass[30pt,landscape]{foils}

\usepackage[colorhighlight,whitebackground,display]{texpower}
\usepackage[pdftex]{geometry}
\usepackage{hyperref}
\usepackage{graphics}
\geometry{headsep=3ex,hscale=0.9}

\renewcommand{\rmdefault}{pbk}
\renewcommand{\sfdefault}{pag}
\renewcommand{\ttdefault}{pcr}

\begin{document}
\centering
\foilhead[-2\baselineskip]{Analysen}
\liststepwise{
\begin{minipage}{.2\textwidth}
\step{%
\begin{itemize}
      \item One
      \step{\item Two}
      \step{\item Three}
\end{itemize}
}
\end{minipage}
\hfill
\begin{minipage}[c]{.7\textwidth}
\overlays[\value{step}=1]{3}{%
%\overlays{3}{%
\resizebox{4cm}{!}{\includegraphics{images/Analysen\thesubstep}}}
\end{minipage}
}

\end{document}

Thanks,
-- 
       /(__  __|\          Lars Steinke - Debian Developer,
      (    \/  __)_        check out http://www.debian.org.
       )   (_____  /       For my PGP public key & Web page 
      /___________/        use the URL http://www.lsweb.de.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click