diff options
author | Karl Berry <karl@freefriends.org> | 2008-06-04 16:39:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-06-04 16:39:09 +0000 |
commit | 911511863481e550b16a41671510b964fb590198 (patch) | |
tree | e8f63c076147f0866a42373f501be272def765d9 /Master/texmf-dist/doc/latex/animate/animate.tex | |
parent | 0c1d6aeb7161b63c8c5d178288c2df12ea713dd9 (diff) |
animate update (3jun08)
git-svn-id: svn://tug.org/texlive/trunk@8555 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/animate/animate.tex')
-rwxr-xr-x | Master/texmf-dist/doc/latex/animate/animate.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/animate/animate.tex b/Master/texmf-dist/doc/latex/animate/animate.tex index 15dad014b46..edb16a0f598 100755 --- a/Master/texmf-dist/doc/latex/animate/animate.tex +++ b/Master/texmf-dist/doc/latex/animate/animate.tex @@ -154,8 +154,8 @@ For example, given the sequence `frame\_5.png' through `frame\_50.png' from a po \animategraphics{12}{frame_}{5}{50} \end{verbatim} -\myparagraph*{Multipage PDF inclusion (pdf\LaTeX{} only)} -If the file `\verb+<file basename>+.pdf' exists (again, there is no file name extension to be specified), it is taken as a multipage document where each page represents one frame of the animation. In this case, the last two arguments, \verb+<first>+ \& \verb+<last>+, are interpreted differently from above; they specify a zero-based range of pages to be included in the animation. Either or both of them may be left empty, `\verb+{}+', in which case they default to $0$ and $n-1$, where $n$ is the total number of available pages. Arguments that fall outside this range are automatically corrected to the maximum allowed number, i.\,e. $n-1$. +\myparagraph*{Multipage PDF/JBIG2 inclusion (pdf\LaTeX{} only)} +If the file `\verb+<file basename>+.pdf', `\verb+<file basename>+.jbig2' or `\verb+<file basename>+.jb2' exists (again, there is no file name extension to be specified), it is taken as a multipage document where each page represents one frame of the animation. In this case, the last two arguments, \verb+<first>+ \& \verb+<last>+, are interpreted differently from above; they specify a zero-based range of pages to be included in the animation. Either or both of them may be left empty, `\verb+{}+', in which case they default to $0$ and $n-1$, where $n$ is the total number of available pages. Arguments that fall outside this range are automatically corrected to the maximum allowed number, i.\,e. $n-1$. For example, the line \begin{verbatim} @@ -556,7 +556,7 @@ 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 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}'s or {\tt tikzpicture}'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: + \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} |