Graphics, Figures & Tables ⇒ Problem with animate package
Problem with animate package
Hi everybody, how are you?
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.
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 451 times
-
- problem.tex
- (5.25 KiB) Downloaded 458 times
Problem with animate package
Hi,
I compiled your code and got the desired result. Perhaps you are using old versions of some packages? Try the following short example:
I attach the resulting pdf. If you get something different after compilation of my example, go to the .log file and search for the *File List* section (the \listfiles command in the first line of my example code simply writes this list in the .log file). Compare this section with the one that I got:
Update packages, if necessary, and retry compiling my example. If problems persist, please report them.
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 561 times
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Problem with animate package
Thanks gmedina.
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.
The problem is that sometimes the animation appears and sometimes it doesn't. Please try the first example that I have uploaded.
Thanks again.
PD: by the way, which packages are already obsolet?
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 410 times
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Problem with animate package
Ahhh I can't fix it. 

Re: Problem with animate package
As I mentioned before, perhaps the problem is that your system is using older versions of some packages (compare the two *File List* sections and you will notice that). Upgrade your packages and try again.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Problem with animate package
Ok. Now I have uploaded all the packages and the problem remains. I have here I clear example of what really happen. The first animation works but the second one doesn't. I can't upload EPS files because there are too big.
Why me !! xD
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 12003 times
-
- intento.tex
- (5.31 KiB) Downloaded 422 times
-
- intento.pdf
- (167.42 KiB) Downloaded 427 times
Re: Problem with animate package
Without the actual images it can be really difficult to provide effective help.
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?
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?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Problem with animate package
Ok. Here I have included two eps images. Please take a look if you can !!
- Attachments
-
- forum.rar
- (92.71 KiB) Downloaded 333 times
Re: Problem with animate package
Unfortunately, with the code and images you provided, everything went OK in my system; no problems with the
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?
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 475 times
1,1,2,3,5,8,13,21,34,55,89,144,233,...