[pstricks] problem with animate
Patrice Mégret
Patrice.Megret at fpms.ac.be
Wed Sep 5 11:44:17 CEST 2007
Dear all,
I am trying to use the animate package and I have some troubles.
Here is a simple animation:
1. it works fine with pstricks-add but not with pstricks
2. I don't see any effect of the command buttonbg and screenbg
I use latex, dvips and ghostview to create the pdf
Any idea ?
\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{pstricks-add}
\usepackage{animate}
\listfiles
\begin{document}
\newcounter{pmangle}
\setcounter{pmangle}{0}
\begin{animateinline}[%
autoplay,
begin={\begin{pspicture}(-2,-2)(2,2)\psgrid},
end={\end{pspicture}},
controls,
buttonbg=0 1 0,
screenbg=0 1 0,
]{1}
\pscircle[fillcolor=yellow,fillstyle=solid]{1}
\whiledo{\thepmangle<360}{%
\newframe%
\addtocounter{pmangle}{10}%
\psline[linecolor=red,linewidth=2pt]{->}(1;\thepmangle)%
\uput[\thepmangle](1;\thepmangle){\thepmangle}%
}
\end{animateinline}
\end{document}
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
inputenc.sty 2006/05/05 v1.1b Input encoding file
latin1.def 2006/05/05 v1.1b Input encoding file
animate.sty 2007/07/04
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 2006/02/20 v1.4 Provides the ifpdf switch (HO)
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
pstricks-add.sty 2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks.sty 2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2006/12/22 v1.15 `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)
pstricks-add.tex 2006/11/22 v2.82 `PSTricks-add' (hv,dr)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2006/11/18 v2.5f package option processing (HA)
xkeyval.tex 2006/11/18 v2.5f key=value parser (HA)
fp.sty 1995/04/02
defpattern.sty 1994/10/12
fp-basic.sty 1996/05/13
fp-addons.sty 1995/03/15
fp-snap.sty 1995/04/05
fp-exp.sty 1995/04/03
fp-trigo.sty 1995/04/14
fp-pas.sty 1994/08/29
fp-random.sty 1995/02/23
fp-eqn.sty 1995/04/03
fp-upn.sty 1996/10/21
fp-eval.sty 1995/04/03
***********
Patrice MEGRET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070905/85706c09/attachment.html
More information about the PSTricks
mailing list