summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/animate/animate.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/animate/animate.tex')
-rwxr-xr-xMaster/texmf-dist/doc/latex/animate/animate.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/animate/animate.tex b/Master/texmf-dist/doc/latex/animate/animate.tex
index dff553f5294..cf4a5b2cea8 100755
--- a/Master/texmf-dist/doc/latex/animate/animate.tex
+++ b/Master/texmf-dist/doc/latex/animate/animate.tex
@@ -568,6 +568,14 @@ Fig.~\ref{fig:torus} is an inline graphics example adapted from \cite{gilg05}.
\item Animations do not work if the PDF has been produced with Ghostscript versions older than 8.31. This applies to all versions of ESP Ghostscript that comes with many Linux distributions.
+ \item If the \LaTeX{} $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+/Distiller route is being taken make sure that the original (unscaled) graphics size does not exceed the page size of the final document. During PS to PDF conversion every graphics of the animation is temporarily moved to the lower left page corner. Those parts of the graphics that do not fit onto the document page will be clipped in the resulting PDF. Graphics files used for building an animation may be resized easily using the `{\tt epsffit}' command line tool:
+
+\quad{\tt epsffit -c <llx> <lly> <urx> <ury> infile.eps outfile.eps}
+
+{\tt <llx> <lly> <urx> <ury>} are the bounding box coordinates of the document which can be determined using Ghostscript. For a document called `document.ps' the command line (the name of the Ghostscript executable may vary between operating systems) is
+
+\quad{\tt gs -dNOPAUSE -q -dBATCH -sDEVICE=bbox document.ps}
+
% \item The command {\tt\string\multido} and its relatives from package `multido' as well as {\tt\string\foreach} from the `pgf/TikZ' package do not work \emph{if their loop body} contains {\tt\string\newframe}. Instead, use {\tt\string\whiledo} from package `if\/then' if you wish to construct loops around parameterized {\tt pspicture}\emph{s} or {\tt tikzpicture}\emph{s}. (There is no need to load `if\/then' explicitly; it has already been loaded by `animate'.) A counter must be declared to keep track of the number of iterations. Further variables that take fixed point decimals to be used within the loop body can be defined and incremented by means of the commands \verb+\FPset+ and \verb+\FPeval+ from package `fp'. Note that {\tt\string\multido} and {\tt\string\foreach} \emph{can} safely be used \emph{within} the code of the frames. For example:
%\small
%\begin{verbatim}