Graphics, Figures & Tables ⇒ Problem with animate package
Problem with animate package
I have a problem when I try to include an animation with animate package. I have used animateinline environment und it's working in theory because there are no mistakes nor warnings at the output.
However there is no animation in the pdf. I'm using LaTeX=>PS=>PDF because I'm using EPS images to make this document, but I couldn't
include it due to their weight (3mb)
I also included the code as an attachment. I hope anyone could find what the problem is.
Thank you.
- Attachments
-
- problem.pdf
- (56.75 KiB) Downloaded 534 times
-
- problem.tex
- (5.25 KiB) Downloaded 543 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Problem with animate package
I compiled your code and got the desired result. Perhaps you are using old versions of some packages? Try the following short example:
Code: Select all
\listfiles
\documentclass{article}
\usepackage{pst-plot}
\usepackage{animate}
\usepackage[spanish]{babel}
\usepackage[ansinew]{inputenc}
\usepackage{xcolor}
\usepackage{graphicx}
\begin{document}
\begin{center}
\begin{animateinline}[controls, loop]{2}
1
\newframe[2]
2
\newframe[2]
3
\end{animateinline}
\end{center}
\end{document}Code: Select all
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
pst-plot.sty 2004/07/15 package wrapper for pst-plot.tex
pstricks.sty 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2009/05/19 v1.29 `PSTricks' (tvz,hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-plot.tex 2009/06/08 1.04 `pst-plot' (tvz)
animate.sty 2009/08/17 PDF animations from files and inline graphics
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
ifpdf.sty 2009/04/10 v2.0 Provides the ifpdf switch (HO)
ifdraft.sty 2008/08/11 v1.3 Switch for option draft (HO)
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
animfp.sty 2009/07/23 fixed point addition for animate.sty
babel.sty 2008/07/06 v3.8l The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
spanish.ldf
inputenc.sty 2006/05/05 v1.1b Input encoding file
ansinew.def 2006/05/05 v1.1b Input encoding file
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
***********- Attachments
-
- test.pdf
- (14.07 KiB) Downloaded 650 times
Problem with animate package
It works with your minimal example, but please try with my example. It's larger than the one you have posted.
Here I have my log anyways.
Code: Select all
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
pst-plot.sty 2004/07/15 package wrapper for pst-plot.tex
pstricks.sty 2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2008/06/17 v1.24 `PSTricks' (tvz)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-plot.tex 2007/06/26 1.00 `pst-plot' (tvz)
animate.sty 2009/08/31 PDF animations from files and inline graphics
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
ifpdf.sty 2007/12/12 v1.6 Provides the ifpdf switch (HO)
ifdraft.sty 2006/02/20 v1.2 Switch for option draft (HO)
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
animfp.sty 2009/07/23 fixed point addition for animate.sty
babel.sty 2008/03/16 v3.8j The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
spanish.ldf
inputenc.sty 2006/05/05 v1.1b Input encoding file
ansinew.def 2006/05/05 v1.1b Input encoding file
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
***********
Thanks again.
PD: by the way, which packages are already obsolet?
Problem with animate package
Of course I tried it (that's the first thing I did), and as I said before, it worked OK in my system. I attach the resulting pdf (of course, there's some problems with the accented vowels since your encoding is different from mine, but that's not relevant for the issue tretaed).jonysatie wrote:...The problem is that sometimes the animation appears and sometimes it doesn't. Please try the first example that I have uploaded.
Thanks again.
- Attachments
-
- test.pdf
- (69.06 KiB) Downloaded 504 times
Re: Problem with animate package
Re: Problem with animate package
Problem with animate package
Why me !! xD
Code: Select all
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
pst-plot.sty 2004/07/15 package wrapper for pst-plot.tex
pstricks.sty 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2009/05/19 v1.29 `PSTricks' (tvz,hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-plot.tex 2009/06/08 1.04 `pst-plot' (tvz)
animate.sty 2009/08/31 PDF animations from files and inline graphics
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
ifpdf.sty 2009/04/10 v2.0 Provides the ifpdf switch (HO)
ifdraft.sty 2008/08/11 v1.3 Switch for option draft (HO)
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
animfp.sty 2009/07/23 fixed point addition for animate.sty
babel.sty 2008/07/06 v3.8l The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
spanish.ldf
inputenc.sty 2006/05/05 v1.1b Input encoding file
ansinew.def 2006/05/05 v1.1b Input encoding file
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
***********
- Attachments
-
- proof.png (88.07 KiB) Viewed 13919 times
-
- intento.tex
- (5.31 KiB) Downloaded 500 times
-
- intento.pdf
- (167.42 KiB) Downloaded 486 times
Re: Problem with animate package
Does the problem occur only with those particular eps images or can you reproduce
the problem with another set of eps images that you can attach here for us to test?
Re: Problem with animate package
- Attachments
-
- forum.rar
- (92.71 KiB) Downloaded 411 times
Re: Problem with animate package
animation (see the resulting pdf file attached). At this point, if you are getting undesired
results with that very same code, I don't know where the cause of your problem resides.
Perhaps a problem with your pdf viewer? Or perhaps with your dvi to ps or ps to pdf converters?
- Attachments
-
- test.pdf
- (143.99 KiB) Downloaded 555 times