RE: Re: equation number and references with overlays

"Hendri Adriaens" <[email protected]> Wed, 9 Mar 2005 08:44:14 +0100
Newsgroups gmane.comp.tex.latex.prosper.user
Message-ID <[email protected]>
> when you use \onlySlide*, it still does not seem to work.

The reason:
prosper tries to protect itself from writing too many
labels to the aux file (namely one for every equation
on every overlay) by only writing labels on the first
overlay. It misses the fact that people might want to
display stuff that is not on the first overlay and hence
does not get a label. Use \Label instead of \label which
is the LaTeX original. But be careful: as mentioned,
\Label will create a label on every overlay on which
it is active (which is not a problem in your application).

In applications like yours, one might also choose to
put the equations on independent slides...

-Hendri.

PS: can anyone put this on wikiprosper http://wikiprosper.bbclone.de?

\documentclass[pdf]{prosper}
\begin{document}
\overlays{4}{%
  \begin{slide}{bli}
    \onlySlide*{1}{
      \begin{equation}
        x_1 = y_1
        \Label{eq:a}
      \end{equation}
      Eq \ref{eq:a} Eq \ref{eq:b} Eq \ref{eq:c} Eq \ref{eq:d}
    }
    \onlySlide*{2}{
      \begin{equation}
        x_2 = y_2
        \Label{eq:b}
      \end{equation}
      Eq \ref{eq:a} Eq \ref{eq:b} Eq \ref{eq:c} Eq \ref{eq:d}
    }
    \onlySlide*{3}{
      \begin{equation}
        x_3 = y_3
        \Label{eq:c}
      \end{equation}
      Eq \ref{eq:a} Eq \ref{eq:b} Eq \ref{eq:c} Eq \ref{eq:d}
    }
    \onlySlide*{4}{
      \begin{equation}
        x_4 = y_4
        \Label{eq:d}
      \end{equation}
      Eq \ref{eq:a} Eq \ref{eq:b} Eq \ref{eq:c} Eq \ref{eq:d}
    }
  \end{slide}
}
\end{document}


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click