The problem occurs in powerdot with both animateinline and
animategraphics. I can get text animated from animateinline but
images are gone in both. Animate works fine in article style using
the same code.
Using beamer, it works in animateinline but not animategraphics. I
get a "* file not found error" for animategraphics.
I am using a recent LyX install on Vista. Have not been able to test
on a recent unix distro. I have exported tex and confirmed these
errors appear without LyX.
Alternatively, I would be grateful for some code that would use a for
loop to do the following for files numbered 1000 to n...
Thanks!
\begin{animateinline}[autoplay,loop,palindrome]{6}
{\includegraphics[height=2.20 in]{C:/cygwin/tmp/st/mov1000.eps}}
\newframe
{\includegraphics[height=2.20 in]{C:/cygwin/tmp/st/mov1001.eps}}
\newframe
{\includegraphics[height=2.20 in]{C:/cygwin/tmp/st/mov1002.eps}}
\newframe
{\includegraphics[height=2.20 in]{C:/cygwin/tmp/st/mov1003.eps}}
\newframe
{\includegraphics[height=2.20 in]{C:/cygwin/tmp/st/mov1004.eps}}
\end{animateinline}
\end{center}
% The following does not work in powerdot or beamer
% \animategraphics[scale=.2,loop,autoplay]{2}{C:/cygwin/tmp/
newslidetemplate/movie100}{1}{4}
You are right, I could reproduce this. It's really odd, in particular
that it works in article but not in beamer/powerdot classes. It seems
that in Windows in combination with these presentation making classes
absolute or relative paths to graphics files do not work.
But curiously it works in Linux!
Nevertheless, I found a fix that will be available with the next
update of animate.
Alexander
Thanks so very much! I figured it was some sort of path issue when I
had to put absolute paths in to get the animateinline working.
I finally got fed up with powerpoint and its inability to display
vector graphic (eps) other than wmf. And I could never figure out how
to get a decent high-res movie out of matlab and into powerpoint.
Crazy!
Now I just wish there was a more rational way to edit beamer and
powerdot files. LyX is not optimal. Sometimes I just want to nudge
something or draw an arrow, not edit a boatload of tex code...
Thanks so much for the animate package!
I just tried the new animate package. Animategraphics seems to work
using beamer, but the animations are cropped for me. In one example,
the width is shorter than it needs to be. In another case, the width
and height are shorter. This happens using both scale and height
arguments for animategraphics but animateinline still works.
Just including the animate package in powerdot got some crazy pdf
output (letter not landscape, all off page).
I tried reading through animate.sty but I could not grok it.
Anyone else having beamer animation issues on cygwin?
Could you please send me the files as private mail? See first page of
animate documentation animate.pdf for my email address.
Alexander
Alexander pointed out that the bounding box for eps files using
\animategraphics is limited by the size of space available on a beamer
slide when using the ps2pdf route.
Basically, matlab generates eps files that are too big and
animategraphics can't handle them using the ps2pdf route. However,
pdflatex is supported this way.
Alexander also graciously pointed me to epsffit to resize my bounding
boxes. My original movie100x.eps files had bounding boxes: 72 397 546
614. From what I understand, this means the lower left corner is
72,546 and the upper right is 397,614. A quick bash script will scale
these files down 25% and make new files named fitmovie100x.eps:
for i in `ls movie*.eps`; do echo $i ; epsffit 0 53 362 219 $i
fit$i
Thanks again Alexander!