[pstricks] [powerdot] Re: animate problems

Alexander Grahn A.Grahn at fzd.de
Tue Sep 11 11:06:45 CEST 2007


On Mon, Sep 10, 2007 at 05:15:10PM +0200, Patrice Mégret wrote:
>With the Luis'example below, it is fine except in landscape latex->dvips->gs: the animation is no longer rotated but seems to be mirrored.    
>
> ...
>
>*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)
>geometry.sty    2002/07/08 v3.2 Page Geometry
>  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
>geometry.cfg
> animate.sty    2007/09/10
>  ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
>   ifpdf.sty    2006/02/20 v1.4 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)
>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
>   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
> ***********

That's interesting. Here, with exactly the same File List the output is
correct. I am using up-to-date MiKTeX [MiKTeX-pdfTeX 2.6.2748 (1.40.4)
(MiKTeX 2.6)] and Ghostscript-8.60. I have to run ps2pdf with option

  -dAutoRotatePages=/None

to suppress Ghostscript's auto-rotating feature which would have lead
to a page that is displayed updside-down in AdobeReader. (BTW, Distiller
does a better job here.) Anyway, controls as well as animation frames
are correctly oriented within the page in either case (with or without
the ps2pdf option.)

Alternatively, some text outside the animation frames gives Ghostscript
an idea of the main text orientation such that its auto-rotating mechanism
yields correctly oriented pages as in this example:

ftp://ftp.fzd.de/private/grahn/example.pdf

\documentclass{article}
\usepackage[dvips,a4paper,landscape]{geometry}
\usepackage{animate}

\begin{document}
This is a simple animation example:
\begin{center}
\begin{animateinline}[%
autoplay,
loop,
controls,
]{1}
  \framebox[1.2em][c]{A}
\newframe
  \framebox[1.2em][c]{B}
\newframe
  \framebox[1.2em][c]{C}
\end{animateinline}
\end{center}
\end{document}

Alexander



More information about the PSTricks mailing list