summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/animate/README3
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/animate.pdfbin973911 -> 1244766 bytes
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/animate.tex109
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/exp.mp108
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_0.mps144
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_1.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_2.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_3.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_4.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_5.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_6.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_7.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/frame_8.mps102
-rw-r--r--Master/texmf-dist/doc/latex/animate/doc/files/scarab.mp128
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty453
15 files changed, 561 insertions, 1200 deletions
diff --git a/Master/texmf-dist/doc/latex/animate/README b/Master/texmf-dist/doc/latex/animate/README
index c4c96822e10..e3cd6ac0081 100644
--- a/Master/texmf-dist/doc/latex/animate/README
+++ b/Master/texmf-dist/doc/latex/animate/README
@@ -71,7 +71,8 @@ Usage:
draft, controls, buttonsize=<size>, buttonbg=<colour>,
buttonfg=<colour>, loop, palindrome, step,
poster[=first | none | last], begin={<begin text>},
- end={<end text>}, timeline=<timeline file>
+ end={<end text>}, timeline=<timeline file>,
+ every=<number>
Requirements:
diff --git a/Master/texmf-dist/doc/latex/animate/doc/animate.pdf b/Master/texmf-dist/doc/latex/animate/doc/animate.pdf
index 53046ff9687..9aab7604b94 100644
--- a/Master/texmf-dist/doc/latex/animate/doc/animate.pdf
+++ b/Master/texmf-dist/doc/latex/animate/doc/animate.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/animate/doc/animate.tex b/Master/texmf-dist/doc/latex/animate/doc/animate.tex
index ac5e1dbca4f..d7bcfffefc7 100644
--- a/Master/texmf-dist/doc/latex/animate/doc/animate.tex
+++ b/Master/texmf-dist/doc/latex/animate/doc/animate.tex
@@ -10,6 +10,7 @@
\usepackage{pst-3dplot}
\usepackage{fp}
\usepackage{animate}
+\usepackage{intcalc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{textcomp}
@@ -103,7 +104,7 @@ buttonfg=<colour>
step
poster[=first | none | last]
\end{verbatim}
-The same options are also available as command options and will be explained shortly. However, if used as package options they have global scope, taking effect on all animations in the document. In turn, command options locally override global settings.
+The same options are also available (among others) as command options and will be explained shortly. However, if used as package options they have global scope, taking effect on all animations in the document. In turn, command options locally override global settings.
If PDF is generated via DVI and Postscript by the command sequence \verb+latex+ $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+, the `graphicx' package is required. \emph{Important:} The \verb+dvips+ option `\verb+-Ppdf+' should \emph{not} be set when converting the intermediate DVI into Postscript. If you cannot do without, put `\verb+-X 2400 -Y 2400+' \emph{after} `\verb+-Ppdf+' on the command line.
@@ -125,13 +126,13 @@ and the environment
While \verb+\animategraphics+ can be used to assemble animations from sets of existing graphics files, the environment `\verb+animateinline+' is intended to create the animation from the typeset material it encloses. This material can be pictures drawn within the \LaTeX{} `\verb+picture+' environment or using the advanced capabilities of PSTricks or pgf/TikZ. Even ordinary textual material may be animated in this way. The parameter \verb+<frame rate>+ specifies the number of frames per second of the animation.
-By default, the animation is build frame by frame in the order of inclusion of the embedded material. However, extended control of the order of appearance, superposition and repetition of the material is available through the `\verb+timeline+' option (see below).
+By default, the animation is built frame by frame in the order of inclusion of the embedded material. However, extended control of the order of appearance, superposition and repetition of the material is available through the `\verb+timeline+' option (see below).
The command \verb+\newframe+ terminates a frame and starts the next one. It can be used inside the `\verb+animateinline+' environment only. There is a starred variant, \verb+\newframe*+. If placed after a particular frame it causes the animation to pause at that frame. The animation continues normally after clicking it again. Both \verb+\newframe+ variants take an optional argument that allows to change the frame rate in the middle of an animation.
-All files of the sequence must be consecutively numbered. {\tt <file base\-name>} is the leftmost part of the file name that all members of the sequence have in common. \verb+<first>+ is the number of the first and \verb+<last>+ the number of the last file in the set. File names may be simply numbered, such as $0\dots99$. If there are leading zeros, make sure that all file numbers have the same number of digits, such as $0000\dots0099$.
+All files of the sequence should exist and be consecutively numbered. (Exception to this rule is allowed in connexion with the `\verb+every+' option, see below). {\tt <file base\-name>} is the leftmost part of the file name that is common to all members of the sequence. \verb+<first>+ is the number of the first and \verb+<last>+ the number of the last file in the set. File names may be simply numbered, such as $0\dots99$. If there are leading zeros, make sure that all file numbers have the same number of digits, such as $0000\dots0099$.
-There is no file name extension to be specified as parameter. The possible file formats depend on whether \LaTeX{} or pdf\LaTeX{} is used. In the case of \LaTeX{}, files with the extension `\verb+eps+' are searched for at first, followed by `\verb+mps+' (\MP-generated Postscript) and `\verb+ps+'. With pdf\LaTeX{} the searching order is: (1)~`\verb+pdf+', (2)~`\verb+mps+', (3)~`\verb+png+', (4)~`\verb+jpg+', (5)~`\verb+jpeg+', (6)~`\verb+jbig2+', (7)~`\verb+jb2+', (8)~`\verb+jp2+'\footnotemark[1], (9)~`\verb+j2k+'\footnotemark[1], (10)~`\verb+jpx+'\footnotemark[1]\footnotetext[1]{JPEG2000 is currently unsupported by pdf\TeX.}. That is, files capable to store vector graphics are found first. Make sure that all file names have \emph{lower case} extensions.
+There is no file name extension to be specified as a parameter. The possible file formats depend on whether \LaTeX{} or pdf\LaTeX{} is used. In the case of \LaTeX{}, files with the extension `eps' are searched for at first, followed by `mps' (\MP-generated Postscript) and `ps'. With pdf\LaTeX{} the searching order is: (1)~`pdf', (2)~`mps', (3)~`png', (4)~`jpg', (5)~`jpeg', (6)~`jbig2', (7)~`jb2', (8)~`jp2'\footnotemark[1], (9)~`j2k'\footnotemark[1], (10)~`jpx'\footnotemark[1]\footnotetext[1]{JPEG2000 is not yet supported by pdf\TeX.}. That is, files capable to store vector graphics are found first. Make sure that all file names have \emph{lower case} extensions.
For example, given the sequence `frame\_5.png' through `frame\_19.png' from a possibly larger set that shall be used to build the animation. Then, {\tt <file base\-name>} would be specified as `\verb+frame_+', \verb+<first>+ as `\verb+5+' and \verb+<last>+ as `\verb+19+'.
@@ -141,6 +142,10 @@ poster[=first | none | last]
\end{verbatim}
Specifies which frame (first, last or none) to display and print if the animation is not activated. The first frame is shown by default. Thus `\verb+poster+' or `\verb+poster=first+' need not be explicitly set.
\begin{verbatim}
+every=<num>
+\end{verbatim}
+Build animation from every \verb+<num>+\emph{th} frame only. Skipped frames are discarded and not embedded into the document. In the case of \verb+\animategraphics+, skipped input files may be missing.
+\begin{verbatim}
autopause
\end{verbatim}
Pause animation when the page is closed, instead of stopping and rewinding it to the default frame.
@@ -169,7 +174,7 @@ width=<width>
height=<height>
depth=<depth>
\end{verbatim}
-Resize the animation widget. Any valid \TeX{} dimension is accepted as parameter. Option `\verb+depth+' specifies how far the animation widget should extend below the bottom line of the running text. If only one or two of these options are given, the unspecified dimensions are scaled to keep the aspect ratio.
+Resize the animation widget. Any valid \TeX{} dimension is accepted as a parameter. Option `\verb+depth+' specifies how far the animation widget should extend below the bottom line of the running text. If only one or two of these options are given, the remaining, unspecified dimensions are scaled to keep the aspect ratio.
\begin{verbatim}
scale=<factor>
\end{verbatim}
@@ -240,7 +245,11 @@ and
In the first example, transparency No. `0' appears in the uppermost depth level throughout the animation; it will never be obscured by other transparencies' content. In the second example it is put on the lowest level (because it is the first transparency specification in the file) and stays there for the rest of the animation.
\section{Examples}
-\subsection[Animation from a set of files, using `animategraphics' command]{Animation from a set of files, using {\tt \string\animategraphics} command together with `{\tt timeline'} option}
+\subsection[Animations from sets of files, using `animategraphics' command]{Animations from sets of files, using {\tt \string\animategraphics} command}
+Animations in this section are made from graphics files that were prepared with \MP. Run `\verb+mpost+' on the files ending in `\verb+.mp+' in the `\verb+doc/files+' directory to generate the graphics files. Both examples make use of the `\verb+timeline+' option to reduce the resulting PDF file size.
+
+The first example, originally written by Jan Hole\v{c}ek~\cite{hol}, shows the exponential function $y=e^x$ and its approximation by Taylor polynomials of different degree.
+
\small
\begin{verbatim}
\documentclass{article}
@@ -253,7 +262,7 @@ In the first example, transparency No. `0' appears in the uppermost depth level
\animategraphics[
controls, loop,
timeline=timeline.txt
- ]{4}{frame_}{0}{8}
+ ]{4}{exp_}{0}{8}
\end{center}
\end{document}
@@ -275,10 +284,77 @@ Contents of file `\verb+timeline.txt+':
\normalsize
\begin{center}
- \animategraphics[controls,loop,timeline=timeline.txt]{4}{frame_}{0}{8}
+ \animategraphics[controls,loop,timeline=timeline.txt]{4}{exp_}{0}{8}
+\end{center}
+
+The second, somewhat more complex example animates the geometric construction of a scarabaeus. It is adapted from Maxime Chupin's original \MP{} source file \cite{chupin}. The present version separates stationary from moving parts of the drawing and saves them into different files. A total of 153 files, \verb+scarab_0.mps+ through \verb+scarab_152.mps+, is written out by running `\verb+mpost+' on the source file `\verb+scarab.mp+'. Files 0 through 100 contain the moving construction lines and the growing scarabaeus. Files 101 through 151 contain the gray lines which represent intermediate stages of the construction. The last file, No. 152, contains the coordinate axes, two stationary construction lines and the labels which do not move. Everything is overlaid by means of a timeline file that is written on-the-fly during the \LaTeX{} run to produce an animation of 101 individual frames.
+\small
+\begin{verbatim}
+\documentclass{article}
+\usepackage{intcalc} %defines \intcalcMod for Modulo computation
+\usepackage{animate}
+\usepackage{graphics}
+
+\newcounter{scarab}
+\setcounter{scarab}{0}
+\newcounter{grayline}
+\setcounter{grayline}{101}
+
+%write timeline file
+\newwrite\TimeLineFile
+\immediate\openout\TimeLineFile\jobname.tln
+\whiledo{\thescarab<101}{
+ \ifthenelse{\intcalcMod{\thescarab}{2}=0}{
+ %a gray line is added to every 2nd frame
+ \immediate\write\TimeLineFile{::\thegrayline x0,152,\thescarab}
+ \stepcounter{grayline}
+ }{
+ \immediate\write\TimeLineFile{::152,\thescarab}
+ }
+ \stepcounter{scarab}
+}
+\immediate\closeout\TimeLineFile
+
+\begin{document}
+\begin{center}
+ \animategraphics[
+ width=0.8\linewidth,
+ controls, loop,
+ timeline=\jobname.tln
+ ]{12}{scarab_}{0}{152}
+\end{center}
+\end{document}
+\end{verbatim}
+\newcounter{scarab}
+\setcounter{scarab}{0}
+\newcounter{grayline}
+\setcounter{grayline}{101}
+
+\newwrite\TimeLineFile
+\immediate\openout\TimeLineFile\jobname.tln
+\whiledo{\thescarab<101}{
+ \ifthenelse{\intcalcMod{\thescarab}{2}=0}{%
+ \immediate\write\TimeLineFile{::\thegrayline x0,152,\thescarab}
+ \stepcounter{grayline}
+ }{
+ \immediate\write\TimeLineFile{::152,\thescarab}
+ }
+ \stepcounter{scarab}
+}
+\immediate\closeout\TimeLineFile
+
+\begin{center}
+ \animategraphics[
+ width=0.8\linewidth,
+ controls,
+ loop,
+ timeline=\jobname.tln
+ ]{12}{scarab_}{0}{152}
\end{center}
+\normalsize
\subsection[Animating PSTricks graphics, using `animateinline' environment]{Animating PSTricks graphics, using `{\tt animateinline}' environment}
+This is an inline graphics example adapted from \cite{gilg05}.
\small
\begin{verbatim}
\documentclass{article}
@@ -368,16 +444,16 @@ Contents of file `\verb+timeline.txt+':
\section{Bugs}\label{sect:bugs}
\begin{itemize}
- \item The command {\tt\string\multido} and its relatives from package `multido' do not work if the loop body contains {\tt\string\newframe}. Use {\tt\string\whiledo} from package `ifthen' instead. (There is no need to load `ifthen' 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+\FPadd+ from package `{\tt fp}'. For example:
+ \item The command {\tt\string\multido} and its relatives from package `multido' do not work if the loop body contains {\tt\string\newframe}. Use {\tt\string\whiledo} from package `if\/then' instead. (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+\FPadd+ from package `{\tt fp}'. For example:
\small
\begin{verbatim}
% declare loop counter
\newcounter{iter}%
\begin{animateinline}{12}
- % initialize loop counter
+ %initialize loop counter
\setcounter{iter}{0}%
- % define some variable, e. g. `\somevar'
+ %define some variable, e. g. `\somevar'
\FPset{\somevar}{1.0}%
%make copy `\varcopy' of `\somevar' with global scope
\xdef\varcopy{\somevar}%
@@ -386,7 +462,7 @@ Contents of file `\verb+timeline.txt+':
... (\multido _can_ be used here!)
...
\whiledo{\theiter<50}{% another 50 frames
- % start new frame
+ %start new frame
\newframe%
%increment loop counter by 1
\addtocounter{iter}{1}%
@@ -403,6 +479,10 @@ Contents of file `\verb+timeline.txt+':
\end{verbatim}
\normalsize
+ \item The maximum frame rate that can actually be achieved largely depends on the complexity of the graphics and on the available hardware.
+
+ \item The Adobe Reader setting `Use page cache' (menu `Preferences'$\rightarrow$`Startup') should be \emph{dis}abled.
+
\item The \verb+dvips+ option `\verb+-Ppdf+' should be avoided entirely or followed by something like `\verb+-X 2400 -Y 2400+' on the command line in order to set a sensible DVI resolution. In times of Type-1 fonts, this does \emph{not} degrade the output quality! The configuration file `\verb+config.pdf+' loaded by option `\verb+-Ppdf+' specifies an excessively high DVI resolution that will be passed on to the final PDF. Eventually, Adobe Reader gets confused and will not display the frames within the animation widget.
\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.
@@ -419,8 +499,11 @@ Contents of file `\verb+timeline.txt+':
I would like to thank Fran\c{c}ois Lafont who discovered quite a few bugs and made many suggestions that helped to improve the functionality of the package.
\begin{thebibliography}{8}
- \bibitem{movie15} \emph{The Movie15 Package}. URL: \href{http://www.ctan.org/tex-archive/macros/latex/contrib/movie15/}{\tt http://www.ctan.org/tex-archive/macros/} \href{http://www.ctan.org/tex-archive/macros/latex/contrib/movie15/}{\tt latex/contrib/movie15}
+ \bibitem{chupin} Chupin, M.: \href{http://melusine.eu.org/syracuse/metapost/animations/chupin/?idsec=scara}{\tt http://melusine.eu.org/syracuse/metapost/animations/} \href{http://melusine.eu.org/syracuse/metapost/animations/chupin/?idsec=scara}{\tt chupin/?idsec=scara}
+ \bibitem{gilg05} Gilg, J.: PDF-Animationen. In: \emph{Die \TeX nische Kom\"odie}, Issue 4, 2005, pp.~30--37
+ \bibitem{hol} Hole\v{c}ek, J.: \emph{Animations in a pdf\TeX-generated PDF}. URL: \href{http://www.fi.muni.cz/~xholecek/tex/pdfanim.xhtml}{\tt http://www.} \href{http://www.fi.muni.cz/~xholecek/tex/pdfanim.xhtml}{\tt fi.muni.cz/~xholecek/tex/pdfanim.xhtml}
\bibitem{hol04} Hole\v{c}ek, J. ; Sojka, P.: Animations in pdf\TeX-generated PDF. In: \emph{Lecture Notes in Computer Science}, Vol. 3130, 2004, pp.~179--191
+ \bibitem{movie15} \emph{The Movie15 Package}. URL: \href{http://www.ctan.org/tex-archive/macros/latex/contrib/movie15/}{\tt http://www.ctan.org/tex-archive/macros/} \href{http://www.ctan.org/tex-archive/macros/latex/contrib/movie15/}{\tt latex/contrib/movie15}
\end{thebibliography}
\end{document}
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/exp.mp b/Master/texmf-dist/doc/latex/animate/doc/files/exp.mp
new file mode 100644
index 00000000000..f0999f164dc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/animate/doc/files/exp.mp
@@ -0,0 +1,108 @@
+%@AUTHOR: Jan Holecek, Alexander Grahn
+%@DATE: 2007/10/02
+
+filenametemplate "%j_%c.mps";
+
+e := 2.718282;
+N=8;
+size := 5cm;
+bars := 0.5mm;
+diff := 0.05;
+xmin := -2;
+xmax := 2;
+xo := -2;
+ymin := 0;
+ymax := e**xmax;
+xcoe := size / (xmax - xmin);
+ycoe := size / (ymax - ymin);
+
+
+pair xaxis[], yaxis[], npnt;
+xaxis[1] = (xmin * xcoe, 0); xaxis[2] = (xmax * xcoe, 0);
+yaxis[1] = (0, ymin * ycoe); yaxis[2] = (0, ymax * ycoe);
+npnt = (xmin * xcoe, ymax * ycoe);
+
+picture xlabel, ylabel, elabel, nlabel[];
+xlabel = btex $x$ etex;
+ylabel = btex $y$ etex;
+elabel = btex $y = e^x$ etex;
+nlabel[1] = btex $n = 1$ etex;
+nlabel[2] = btex $n = 2$ etex;
+nlabel[3] = btex $n = 3$ etex;
+nlabel[4] = btex $n = 4$ etex;
+nlabel[5] = btex $n = 5$ etex;
+nlabel[6] = btex $n = 6$ etex;
+nlabel[7] = btex $n = 7$ etex;
+nlabel[8] = btex $n = 8$ etex;
+
+
+def pnt (expr x,y)=
+ ( x * xcoe, y * ycoe )
+enddef;
+
+def exp (expr x)=
+ pnt (x , e**x)
+enddef;
+
+def taylor (expr s,x)=
+ begingroup
+ save i,v,w;
+ v = 1;
+ w = 1;
+ for i := 1 upto s:
+ w := (w * (x-xo)) / i;
+ v := v + w;
+ endfor;
+ pnt (x , v * (e**xo))
+ endgroup
+enddef;
+
+path pexp,ptaylor[];
+
+pexp = exp(xmin)
+for i:=xmin+diff step diff until xmax:
+ .. exp(i)
+endfor;
+
+for j:=1 upto N:
+ ptaylor[j] := taylor (j,xmin)
+ for i:=xmin+diff step diff until xmax:
+ .. taylor(j,i)
+ endfor;
+endfor;
+
+def axis=
+ drawarrow xaxis[1]--xaxis[2];
+ drawarrow yaxis[1]--yaxis[2];
+ for k:=-1,1:
+ draw (k * xcoe, -bars) -- (k * xcoe, bars);
+ endfor;
+ for k:=1 upto 6:
+ draw (-bars, k * ycoe) -- (bars, k * ycoe);
+ endfor;
+ draw pexp withcolor red;
+ label.lrt (xlabel, xaxis[2]);
+ label.ulft (ylabel, yaxis[2]);
+ label.top (elabel, point (length (pexp)) of pexp);
+enddef;
+
+path bounds;
+beginfig(0);
+ pickup pencircle scaled 0.4mm;
+ axis;
+ bounds:=bbox currentpicture;
+ setbounds currentpicture to bounds;
+ clip currentpicture to bounds;
+endfig;
+
+for i:=1 upto N:
+ beginfig(i);
+ pickup pencircle scaled 0.4mm;
+ draw ptaylor[i] withcolor blue;
+ label.lrt ( nlabel[i], npnt);
+ setbounds currentpicture to bounds;
+ clip currentpicture to bounds;
+ endfig;
+endfor;
+
+end.
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_0.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_0.mps
deleted file mode 100644
index 80b60cf3268..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_0.mps
+++ /dev/null
@@ -1,144 +0,0 @@
-%!PS
-%%BoundingBox: -72 -7 84 151
-%%HiResBoundingBox: -71.43304 -6.3895 83.19305 150.05891
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 65:800018
-%*Font: cmr10 9.96265 9.96265 3d:8
-%*Font: cmmi7 6.97385 6.97385 78:8
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 1.13383 dtransform truncate idtransform setlinewidth pop [] 0 setdash
- 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 0 moveto
-70.86612 0 lineto stroke
-newpath 67.16975 -1.53113 moveto
-70.86612 0 lineto
-67.16975 1.53113 lineto
- closepath
-gsave fill grestore stroke
- 1.13383 0 dtransform exch truncate exch idtransform pop setlinewidth
-newpath 0 0 moveto
-0 141.73222 lineto stroke
- 0 1.13383 dtransform truncate idtransform setlinewidth pop
-newpath 1.53113 138.03586 moveto
-0 141.73222 lineto
--1.53113 138.03586 lineto
- closepath
-gsave fill grestore stroke
- 1.13383 0 dtransform exch truncate exch idtransform pop setlinewidth
-newpath -35.43306 -1.41733 moveto
--35.43306 1.41733 lineto stroke
-newpath 35.43306 -1.41733 moveto
-35.43306 1.41733 lineto stroke
- 0 1.13383 dtransform truncate idtransform setlinewidth pop
-newpath -1.41733 19.18146 moveto
-1.41733 19.18146 lineto stroke
-newpath -1.41733 38.36292 moveto
-1.41733 38.36292 lineto stroke
-newpath -1.41733 57.54437 moveto
-1.41733 57.54437 lineto stroke
-newpath -1.41733 76.72583 moveto
-1.41733 76.72583 lineto stroke
-newpath -1.41733 95.90729 moveto
-1.41733 95.90729 lineto stroke
-newpath -1.41733 115.08875 moveto
-1.41733 115.08875 lineto stroke
- 1 0 0 setrgbcolor
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86891 lineto
--65.55084 3.01584 lineto
--63.77907 3.17067 lineto
--62.00731 3.3331 lineto
--60.23555 3.50403 lineto
--58.46379 3.68375 lineto
--56.69203 3.87282 lineto
--54.92027 4.07126 lineto
--53.14851 4.27994 lineto
--51.37674 4.49947 lineto
--50.78592 4.5745 -50.19531 4.65129 -49.60498 4.7301 curveto
--49.01413 4.80898 -48.42354 4.88988 -47.83322 4.97273 curveto
--47.24234 5.05568 -46.65175 5.14058 -46.06146 5.22766 curveto
--45.47055 5.31483 -44.87994 5.40417 -44.2897 5.49576 curveto
--43.69876 5.58745 -43.10815 5.68138 -42.51794 5.77762 curveto
--41.92697 5.874 -41.33636 5.97267 -40.74619 6.07382 curveto
--40.15515 6.17511 -39.56456 6.27887 -38.97443 6.38524 curveto
--38.38335 6.49178 -37.79276 6.60094 -37.20265 6.71275 curveto
--36.61154 6.82477 -36.02095 6.93945 -35.4309 7.05695 curveto
--34.83972 7.17465 -34.24911 7.29517 -33.65913 7.4187 curveto
--33.0679 7.5425 -32.47731 7.66933 -31.88737 7.7992 curveto
--31.2961 7.92935 -30.70547 8.06255 -30.11562 8.199 curveto
--29.52425 8.3358 -28.93364 8.47586 -28.34386 8.61931 curveto
--27.75241 8.76317 -27.1618 8.91043 -26.5721 9.06126 curveto
--25.98056 9.21257 -25.38995 9.36748 -24.80032 9.52605 curveto
--24.20871 9.68515 -23.6181 9.84795 -23.02856 10.01454 curveto
--22.43686 10.18176 -21.84624 10.35283 -21.2568 10.52791 curveto
--20.66498 10.7037 -20.07436 10.88356 -19.48505 11.06763 curveto
--18.8931 11.25252 -18.30249 11.44167 -17.71329 11.63513 curveto
--17.12122 11.82954 -16.5306 12.02829 -15.94153 12.23163 curveto
--15.3493 12.43605 -14.75868 12.6451 -14.16977 12.85886 curveto
--13.57741 13.07387 -12.98679 13.29366 -12.398 13.51828 curveto
--11.80548 13.74434 -11.21483 13.97528 -10.62624 14.21136 curveto
--10.03352 14.4491 -9.4429 14.69202 -8.85448 14.94014 curveto
--8.26161 15.19014 -7.67096 15.4454 -7.08272 15.7061 curveto
--6.48962 15.96893 -5.89899 16.23727 -5.31096 16.51129 curveto
--4.71764 16.78778 -4.12701 17.07004 -3.5392 17.35803 curveto
--2.94568 17.64882 -2.35503 17.94547 -1.76744 18.24808 curveto
--1.17365 18.55388 -0.58301 18.86575 0.00432 19.18379 curveto
-0.59836 19.50546 1.18896 19.8334 1.7761 20.16751 curveto
-2.37039 20.5057 2.96107 20.85019 3.54785 21.20128 curveto
-4.1425 21.55707 4.73306 21.91962 5.31961 22.2886 curveto
-5.91447 22.66283 6.50514 23.04366 7.09137 23.43126 curveto
-7.68661 23.82483 8.27724 24.22536 8.86313 24.63274 curveto
-9.45866 25.04683 10.04927 25.46797 10.63489 25.89597 curveto
-11.23073 26.33144 11.82138 26.77399 12.40665 27.22359 curveto
-13.0029 27.68163 13.59352 28.14696 14.17842 28.6194 curveto
-14.77501 29.10129 15.36562 29.59053 15.95018 30.08693 curveto
-16.54712 30.59384 17.13773 31.10817 17.72194 31.62968 curveto
-18.31924 32.16289 18.90984 32.70355 19.4937 33.25145 curveto
-20.09138 33.81232 20.68198 34.38072 21.26546 34.95634 curveto
-21.86353 35.54637 22.4541 36.14395 23.03722 36.74875 curveto
-23.63565 37.36943 24.22621 37.99765 24.80898 38.63306 curveto
-25.40779 39.28596 25.99835 39.9464 26.58075 40.61397 curveto
-27.17992 41.30077 27.77043 41.99509 28.35251 42.69643 curveto
-28.95204 43.41881 29.5426 44.14859 30.12427 44.88542 curveto
-30.7242 45.6454 31.31465 46.41283 31.89603 47.1871 curveto
-32.49625 47.98647 33.08675 48.79305 33.66779 49.60645 curveto
-34.26839 50.44724 34.85884 51.29523 35.43954 52.14989 curveto
-36.04048 53.03432 36.63092 53.92581 37.2113 54.82385 curveto
-37.81255 55.75418 38.40292 56.69147 38.98306 57.6351 curveto
-39.58458 58.6135 40.17503 59.59865 40.75484 60.59006 curveto
-41.3567 61.6192 41.94707 62.65503 42.5266 63.69691 curveto
-43.12868 64.77933 43.71906 65.86821 44.29836 66.963 curveto
-44.90071 68.10138 45.49106 69.24608 46.07011 70.3965 curveto
-46.67271 71.5937 47.26308 72.79701 47.84187 74.0059 curveto
-48.44473 75.26503 49.03502 76.53012 49.61363 77.80057 curveto
-50.21667 79.12466 50.807 80.45451 51.38539 81.78958 curveto
-51.98868 83.18216 52.57895 84.58032 53.15717 85.98349 curveto
-53.7606 87.44786 54.35088 88.91763 54.92892 90.39221 curveto
-55.53256 91.93208 56.12282 93.47716 56.70068 95.02689 curveto
-57.30449 96.64616 57.89473 98.27046 58.47244 99.89923 curveto
-59.0764 101.602 59.66664 103.30962 60.2442 105.02153 curveto
-60.8483 106.8121 61.43849 108.60732 62.01596 110.40665 curveto
-62.62016 112.2893 63.2104 114.1764 63.78772 116.06749 curveto
-64.39209 118.0472 64.9823 120.03117 65.5595 122.01897 curveto
-66.16388 124.10042 66.754 126.18597 67.33125 128.27512 curveto
-67.93599 130.4637 68.52658 132.65616 69.10301 134.85236 curveto stroke
- 0 setgray
-72.96611 -6.3895 moveto
-(x) cmmi10 9.96265 fshow
--7.34189 145.76941 moveto
-(y) cmmi10 9.96265 fshow
-55.01295 139.78955 moveto
-(y) cmmi10 9.96265 fshow
-63.02225 139.78955 moveto
-(=) cmr10 9.96265 fshow
-73.53825 139.78955 moveto
-(e) cmmi10 9.96265 fshow
-78.17715 143.40495 moveto
-(x) cmmi7 6.97385 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_1.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_1.mps
deleted file mode 100644
index 53b68e7abba..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_1.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 31:8008
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.7255 lineto
--67.3226 2.85544 lineto
--65.55084 2.9851 lineto
--63.77907 3.11505 lineto
--62.00731 3.24472 lineto
--60.23555 3.37466 lineto
--58.46379 3.50433 lineto
--56.69203 3.63428 lineto
--54.92027 3.76395 lineto
--53.14851 3.89389 lineto
--51.37674 4.02354 lineto
--49.60498 4.1535 lineto
--47.83322 4.28316 lineto
--46.06146 4.41312 lineto
--44.2897 4.54277 lineto
--42.51794 4.67273 lineto
--40.74619 4.80238 lineto
--38.97443 4.93234 lineto
--37.20265 5.062 lineto
--35.4309 5.19196 lineto
--33.65913 5.32161 lineto
--31.88737 5.45128 lineto
--30.11562 5.58122 lineto
--28.34386 5.71089 lineto
--26.5721 5.84084 lineto
--24.80032 5.9705 lineto
--23.02856 6.10045 lineto
--21.2568 6.23012 lineto
--19.48505 6.36006 lineto
--17.71329 6.48972 lineto
--15.94153 6.61967 lineto
--14.16977 6.74933 lineto
--12.398 6.87929 lineto
--10.62624 7.00894 lineto
--8.85448 7.1389 lineto
--7.08272 7.26855 lineto
--5.31096 7.39851 lineto
--3.5392 7.52817 lineto
--1.76744 7.65813 lineto
-0.00432 7.78778 lineto
-1.7761 7.91774 lineto
-3.54785 8.0474 lineto
-5.31961 8.17735 lineto
-7.09137 8.307 lineto
-8.86313 8.43668 lineto
-10.63489 8.56662 lineto
-12.40665 8.69627 lineto
-14.17842 8.82623 lineto
-15.95018 8.95589 lineto
-17.72194 9.08585 lineto
-19.4937 9.2155 lineto
-21.26546 9.34546 lineto
-23.03722 9.47511 lineto
-24.80898 9.60507 lineto
-26.58075 9.73473 lineto
-28.35251 9.86469 lineto
-30.12427 9.99434 lineto
-31.89603 10.1243 lineto
-33.66779 10.25395 lineto
-35.43954 10.38391 lineto
-37.2113 10.51357 lineto
-38.98306 10.64352 lineto
-40.75484 10.77318 lineto
-42.5266 10.90314 lineto
-44.29836 11.03279 lineto
-46.07011 11.16245 lineto
-47.84187 11.2924 lineto
-49.61363 11.42206 lineto
-51.38539 11.55202 lineto
-53.15717 11.68167 lineto
-54.92892 11.81163 lineto
-56.70068 11.94128 lineto
-58.47244 12.07124 lineto
-60.2442 12.2009 lineto
-62.01596 12.33086 lineto
-63.78772 12.46051 lineto
-65.5595 12.59047 lineto
-67.33125 12.72012 lineto
-69.10301 12.85008 lineto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(1) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_2.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_2.mps
deleted file mode 100644
index 2ed05c2add7..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_2.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 32:801
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86832 lineto
--65.55084 3.01437 lineto
--63.77907 3.16685 lineto
--62.00731 3.32608 lineto
--60.23555 3.49146 lineto
--58.46379 3.66354 lineto
--56.69203 3.8418 lineto
--54.92027 4.02676 lineto
--53.14851 4.21848 lineto
--51.37674 4.41634 lineto
--49.60498 4.62064 lineto
--47.83322 4.83167 lineto
--46.06146 5.04912 lineto
--44.2897 5.27303 lineto
--42.51794 5.50337 lineto
--40.74619 5.74016 lineto
--38.97443 5.98367 lineto
--37.20265 6.23363 lineto
--35.4309 6.49002 lineto
--33.65913 6.75285 lineto
--31.88737 7.02213 lineto
--30.11562 7.29782 lineto
--28.34386 7.58028 lineto
--26.5721 7.86916 lineto
--24.80032 8.16447 lineto
--23.02856 8.46623 lineto
--21.2568 8.77443 lineto
--19.48505 9.08907 lineto
--17.71329 9.41043 lineto
--15.94153 9.73824 lineto
--14.16977 10.0725 lineto
--12.398 10.41318 lineto
--10.62624 10.7603 lineto
--8.85448 11.11415 lineto
--7.08272 11.47446 lineto
--5.31096 11.84119 lineto
--3.5392 12.21437 lineto
--1.76744 12.59398 lineto
-0.00432 12.98003 lineto
-1.7761 13.37282 lineto
-3.54785 13.77203 lineto
-5.31961 14.1777 lineto
-7.09137 14.5898 lineto
-8.86313 15.00835 lineto
-10.63489 15.43332 lineto
-12.40665 15.86504 lineto
-14.17842 16.30319 lineto
-15.95018 16.74777 lineto
-17.72194 17.1988 lineto
-19.4937 17.65627 lineto
-21.26546 18.12047 lineto
-23.03722 18.59082 lineto
-24.80898 19.0679 lineto
-26.58075 19.5514 lineto
-28.35251 20.04166 lineto
-30.12427 20.53806 lineto
-31.89603 21.0409 lineto
-33.66779 21.55046 lineto
-35.43954 22.06647 lineto
-37.2113 22.58891 lineto
-38.98306 23.11778 lineto
-40.75484 23.6534 lineto
-42.5266 24.19516 lineto
-44.29836 24.74365 lineto
-46.07011 25.29858 lineto
-47.84187 25.85995 lineto
-49.61363 26.42807 lineto
-51.38539 27.00232 lineto
-53.15717 27.5833 lineto
-54.92892 28.17043 lineto
-56.70068 28.76428 lineto
-58.47244 29.36487 lineto
-60.2442 29.97162 lineto
-62.01596 30.58508 lineto
-63.78772 31.2047 lineto
-65.5595 31.83104 lineto
-67.33125 32.46384 lineto
-69.10301 33.10306 lineto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(2) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_3.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_3.mps
deleted file mode 100644
index 34c37de9d00..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_3.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 33:802
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86891 lineto
--65.55084 3.01584 lineto
--63.77907 3.17038 lineto
--62.00731 3.33281 lineto
--60.23555 3.50316 lineto
--58.46379 3.68199 lineto
--56.69203 3.8696 lineto
--54.92027 4.06628 lineto
--53.14851 4.27234 lineto
--51.37674 4.48834 lineto
--49.60498 4.7143 lineto
--47.83322 4.95049 lineto
--46.06146 5.19751 lineto
--44.2897 5.45566 lineto
--42.51794 5.72493 lineto
--41.92705 5.81665 -41.33646 5.91026 -40.74619 6.00592 curveto
--40.15527 6.10168 -39.56468 6.1995 -38.97443 6.29918 curveto
--38.3835 6.39897 -37.79288 6.50064 -37.20265 6.60446 curveto
--36.6117 6.7084 -36.0211 6.8145 -35.4309 6.9226 curveto
--34.83992 7.03085 -34.24931 7.14114 -33.65913 7.25363 curveto
--33.06813 7.36629 -32.47754 7.48116 -31.88737 7.59813 curveto
--31.29636 7.71527 -30.70575 7.83453 -30.11562 7.95609 curveto
--29.52457 8.07782 -28.93398 8.20186 -28.34386 8.32808 curveto
--27.75278 8.4545 -27.16217 8.5831 -26.5721 8.71414 curveto
--25.98097 8.84541 -25.39038 8.97914 -24.80032 9.11511 curveto
--24.2092 9.25133 -23.61858 9.38977 -23.02856 9.53073 curveto
--22.43738 9.67197 -21.8468 9.8157 -21.2568 9.96185 curveto
--20.66562 10.1083 -20.07501 10.25717 -19.48505 10.4085 curveto
--18.89381 10.56013 -18.3032 10.71425 -17.71329 10.87094 curveto
--17.12201 11.028 -16.53143 11.18764 -15.94153 11.34978 curveto
--15.35023 11.5123 -14.75963 11.67732 -14.16977 11.845 curveto
--13.57841 12.0131 -12.98784 12.18388 -12.398 12.3572 curveto
--11.80663 12.53096 -11.21602 12.70726 -10.62624 12.88637 curveto
--10.0348 13.06598 -9.44424 13.24838 -8.85448 13.4334 curveto
--8.26305 13.61894 -7.67244 13.8071 -7.08272 13.99799 curveto
--6.49121 14.18945 -5.90062 14.38368 -5.31096 14.58073 curveto
--4.71942 14.77841 -4.12885 14.97894 -3.5392 15.1822 curveto
--2.94763 15.38614 -2.35703 15.59282 -1.76744 15.8024 curveto
--1.17581 16.01271 -0.58525 16.22592 0.00432 16.44193 curveto
-0.59596 16.65869 1.18658 16.87825 1.7761 17.10075 curveto
-2.3678 17.32408 2.95837 17.55038 3.54785 17.7795 curveto
-4.13957 18.00948 4.73018 18.24232 5.31961 18.47813 curveto
-5.91139 18.71487 6.50198 18.95462 7.09137 19.19727 curveto
-7.6832 19.44092 8.2738 19.68753 8.86313 19.93718 curveto
-9.455 20.18791 10.04556 20.44174 10.63489 20.69844 curveto
-11.22678 20.95627 11.8174 21.217 12.40665 21.4808 curveto
-12.99863 21.74583 13.58922 22.01398 14.17842 22.2851 curveto
-14.7704 22.5575 15.361 22.83293 15.95018 23.11134 curveto
-16.54222 23.39111 17.13286 23.67389 17.72194 23.95984 curveto
-18.31406 24.24725 18.90462 24.53787 19.4937 24.83147 curveto
-20.08582 25.12657 20.67644 25.42468 21.26546 25.7259 curveto
-21.85765 26.02875 22.44821 26.33476 23.03722 26.64377 curveto
-23.62943 26.95445 24.22005 27.26817 24.80898 27.58505 curveto
-25.40128 27.90375 25.99187 28.22566 26.58075 28.55063 curveto
-27.17307 28.87749 27.76366 29.20744 28.35251 29.54048 curveto
-28.94489 29.8755 29.53549 30.21364 30.12427 30.55493 curveto
-30.71669 30.89833 31.30727 31.24492 31.89603 31.59456 curveto
-32.48848 31.94638 33.07909 32.3013 33.66779 32.65935 curveto
-34.2603 33.01971 34.85088 33.38329 35.43954 33.7499 curveto
-36.03207 34.1189 36.62268 34.491 37.2113 34.8662 curveto
-37.80391 35.24394 38.39452 35.62482 38.98306 36.00885 curveto
-39.57571 36.39557 40.16629 36.78548 40.75484 37.17842 curveto
-41.34749 37.5741 41.9381 37.97281 42.5266 38.37462 curveto
-43.11932 38.77931 43.70993 39.18713 44.29836 39.59805 curveto
-44.89113 40.01202 45.4817 40.42912 46.07011 40.84927 curveto
-46.6629 41.27255 47.2535 41.69891 47.84187 42.12831 curveto
-48.43471 42.56096 49.02531 42.99667 49.61363 43.43546 curveto
-50.20653 43.87766 50.79712 44.32294 51.38539 44.77127 curveto
-51.97832 45.22316 52.5689 45.67812 53.15717 46.13606 curveto
-53.7501 46.59764 54.34071 47.06224 54.92892 47.52983 curveto
-55.52194 48.00124 56.11255 48.47568 56.70068 48.95317 curveto
-57.29373 49.43465 57.88428 49.9192 58.47244 50.40665 curveto
-59.06549 50.89813 59.65611 51.39255 60.2442 51.88997 curveto
-60.83734 52.39166 61.42789 52.89641 62.01596 53.40404 curveto
-62.6091 53.91605 63.19969 54.43097 63.78772 54.94884 curveto
-64.38092 55.47127 64.97148 55.99667 65.5595 56.52495 curveto
-66.1527 57.05789 66.74326 57.59372 67.33125 58.13239 curveto
-67.9245 58.67586 68.51508 59.22221 69.10301 59.77142 curveto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(3) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_4.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_4.mps
deleted file mode 100644
index 6f26c215f27..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_4.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 34:804
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86891 lineto
--65.55084 3.01613 lineto
--63.77907 3.17067 lineto
--62.00731 3.3331 lineto
--60.23555 3.50403 lineto
--58.46379 3.68375 lineto
--56.69203 3.87253 lineto
--54.92027 4.07068 lineto
--53.14851 4.27936 lineto
--51.37674 4.49829 lineto
--49.60498 4.72833 lineto
--49.01414 4.80692 -48.42354 4.88734 -47.83322 4.9698 curveto
--47.24234 5.05234 -46.65175 5.13692 -46.06146 5.22356 curveto
--45.47057 5.31029 -44.87997 5.39908 -44.2897 5.48991 curveto
--43.69879 5.58084 -43.10817 5.67383 -42.51794 5.76913 curveto
--41.92697 5.86456 -41.33638 5.96234 -40.74619 6.06241 curveto
--40.1552 6.16261 -39.56459 6.26512 -38.97443 6.37001 curveto
--38.38339 6.47505 -37.79279 6.5825 -37.20265 6.69255 curveto
--36.61157 6.80278 -36.021 6.91562 -35.4309 7.0309 curveto
--34.8398 7.14638 -34.24918 7.26428 -33.65913 7.38506 curveto
--33.06796 7.50606 -32.47739 7.62993 -31.88737 7.75647 curveto
--31.29617 7.88326 -30.70557 8.01273 -30.11562 8.14516 curveto
--29.52434 8.27788 -28.93376 8.41359 -28.34386 8.55228 curveto
--27.75255 8.6913 -27.16194 8.83331 -26.5721 8.97842 curveto
--25.98073 9.1239 -25.39012 9.27249 -24.80032 9.4242 curveto
--24.20891 9.57631 -23.61829 9.73155 -23.02856 9.89015 curveto
--22.43706 10.04922 -21.84645 10.21165 -21.2568 10.37747 curveto
--20.66525 10.54381 -20.07465 10.71356 -19.48505 10.88673 curveto
--18.89342 11.0605 -18.3028 11.23772 -17.71329 11.41855 curveto
--17.12157 11.60007 -16.53096 11.78526 -15.94153 11.97408 curveto
--15.34973 12.16365 -14.75912 12.35689 -14.16977 12.55388 curveto
--13.57788 12.75172 -12.98727 12.95337 -12.398 13.15886 curveto
--11.80603 13.3653 -11.21541 13.57562 -10.62624 13.78989 curveto
--10.03418 14.0052 -9.44356 14.2245 -8.85448 14.44785 curveto
--8.26231 14.67235 -7.6717 14.90091 -7.08272 15.1336 curveto
--6.49046 15.36758 -5.89986 15.60573 -5.31096 15.84805 curveto
--4.7186 16.0918 -4.12798 16.33977 -3.5392 16.59207 curveto
--2.94672 16.84596 -2.35612 17.10423 -1.76744 17.3668 curveto
--1.17487 17.63112 -0.58426 17.89977 0.00432 18.17287 curveto
-0.59703 18.44789 1.18762 18.72742 1.7761 19.01141 curveto
-2.36891 19.2975 2.95952 19.58812 3.54785 19.88332 curveto
-4.1408 20.18083 4.7314 20.48302 5.31961 20.78976 curveto
-5.91267 21.09904 6.5033 21.41298 7.09137 21.73163 curveto
-7.68456 22.05305 8.27513 22.37927 8.86313 22.71008 curveto
-9.45642 23.04388 10.04707 23.38235 10.63489 23.7257 curveto
-11.22836 24.07234 11.81892 24.42393 12.40665 24.78024 curveto
-13.00021 25.14009 13.59085 25.50475 14.17842 25.8743 curveto
-14.77214 26.24773 15.3627 26.62616 15.95018 27.00934 curveto
-16.54399 27.39665 17.13464 27.78882 17.72194 28.18594 curveto
-18.31593 28.5876 18.9065 28.99432 19.4937 29.40585 curveto
-20.08777 29.8222 20.67839 30.24347 21.26546 30.66966 curveto
-21.85971 31.10107 22.4503 31.5375 23.03722 31.97885 curveto
-23.63159 32.4258 24.22218 32.87773 24.80898 33.33458 curveto
-25.40349 33.79742 25.99408 34.26527 26.58075 34.738 curveto
-27.17538 35.21716 27.76596 35.7013 28.35251 36.1903 curveto
-28.94727 36.68616 29.53783 37.187 30.12427 37.69266 curveto
-30.71915 38.2056 31.30977 38.72348 31.89603 39.24625 curveto
-32.49106 39.77684 33.08159 40.31245 33.66779 40.8528 curveto
-34.26288 41.40134 34.85349 41.95473 35.43954 42.51291 curveto
-36.0348 43.07986 36.62537 43.65173 37.2113 44.22833 curveto
-37.80666 44.8142 38.3972 45.4049 38.98306 46.00026 curveto
-39.57854 46.60538 40.16913 47.21527 40.75484 47.82983 curveto
-41.35043 48.45477 41.94096 49.08453 42.5266 49.71883 curveto
-43.12224 50.36397 43.7128 51.0138 44.29836 51.66812 curveto
-44.89413 52.33388 45.4847 53.00429 46.07011 53.67917 curveto
-46.66602 54.36613 47.25655 55.05774 47.84187 55.75372 curveto
-48.43782 56.46234 49.02835 57.1755 49.61363 57.89296 curveto
-50.20967 58.6236 50.80022 59.35869 51.38539 60.09805 curveto
-51.98154 60.85129 52.57205 61.60893 53.15717 62.37076 curveto
-53.75336 63.147 54.3439 63.92755 54.92892 64.71225 curveto
-55.5252 65.51205 56.11574 66.31615 56.70068 67.12427 curveto
-57.29703 67.94815 57.8876 68.7762 58.47244 69.60829 curveto
-59.06885 70.45683 59.65933 71.30954 60.2442 72.16608 curveto
-60.84062 73.0395 61.43123 73.9169 62.01596 74.7982 curveto
-62.61252 75.69731 63.20297 76.60046 63.78772 77.5073 curveto
-64.38425 78.43239 64.97484 79.36131 65.5595 80.29396 curveto
-66.15614 81.24573 66.7466 82.20134 67.33125 83.16052 curveto
-67.92792 84.1394 68.51851 85.12198 69.10301 86.10817 curveto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(4) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_5.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_5.mps
deleted file mode 100644
index 830b396d917..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_5.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 35:808
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86891 lineto
--65.55084 3.01613 lineto
--63.77907 3.17067 lineto
--62.00731 3.3331 lineto
--60.23555 3.50403 lineto
--58.46379 3.68375 lineto
--56.69203 3.87253 lineto
--54.92027 4.07126 lineto
--53.14851 4.27994 lineto
--51.37674 4.49947 lineto
--50.78592 4.57443 -50.1953 4.65103 -49.60498 4.7298 curveto
--49.01411 4.80862 -48.42354 4.8896 -47.83322 4.97244 curveto
--47.24236 5.05536 -46.65175 5.14012 -46.06146 5.22708 curveto
--45.47055 5.31413 -44.87994 5.4034 -44.2897 5.49489 curveto
--43.69876 5.58649 -43.10817 5.68034 -42.51794 5.77644 curveto
--41.92697 5.87267 -41.33636 5.97112 -40.74619 6.07207 curveto
--40.15515 6.17316 -39.56458 6.27675 -38.97443 6.38289 curveto
--38.38336 6.4892 -37.79277 6.59805 -37.20265 6.70953 curveto
--36.61154 6.8212 -36.02095 6.93549 -35.4309 7.05255 curveto
--34.83974 7.16983 -34.24915 7.2899 -33.65913 7.41286 curveto
--33.06792 7.53606 -32.47733 7.66216 -31.88737 7.79129 curveto
--31.29611 7.92072 -30.7055 8.05318 -30.11562 8.18877 curveto
--29.52428 8.32468 -28.93365 8.46373 -28.34386 8.60614 curveto
--27.75246 8.74895 -27.16187 8.89514 -26.5721 9.04457 curveto
--25.98062 9.19443 -25.38998 9.34756 -24.80032 9.50438 curveto
--24.20876 9.66171 -23.61818 9.82278 -23.02856 9.98732 curveto
--22.43694 10.15242 -21.84628 10.32104 -21.2568 10.49367 curveto
--20.66504 10.66696 -20.07445 10.8443 -19.48505 11.02548 curveto
--18.89323 11.2074 -18.30261 11.3932 -17.71329 11.58304 curveto
--17.12134 11.77371 -16.5307 11.96848 -15.94153 12.16754 curveto
--15.34944 12.3676 -14.75885 12.57199 -14.16977 12.78072 curveto
--13.57758 12.99054 -12.98695 13.20471 -12.398 13.42345 curveto
--11.80566 13.64343 -11.21506 13.868 -10.62624 14.09721 curveto
--10.03378 14.32784 -9.44318 14.56314 -8.85448 14.80318 curveto
--8.26189 15.04478 -7.67125 15.29117 -7.08272 15.5425 curveto
--6.48994 15.79562 -5.89932 16.05376 -5.31096 16.31694 curveto
--4.71803 16.58217 -4.12743 16.85251 -3.5392 17.12798 curveto
--2.94614 17.4057 -2.3555 17.6886 -1.76744 17.97676 curveto
--1.17418 18.26747 -0.58353 18.56352 0.00432 18.86507 curveto
-0.5978 19.1695 1.18839 19.4795 1.7761 19.79492 curveto
-2.36969 20.11351 2.96031 20.4376 3.54785 20.76723 curveto
-4.14168 21.10039 4.73232 21.43918 5.31961 21.78372 curveto
-5.91367 22.13225 6.50427 22.48662 7.09137 22.84676 curveto
-7.6856 23.21126 8.27621 23.58162 8.86313 23.9578 curveto
-9.45758 24.33879 10.0482 24.72574 10.63489 25.11859 curveto
-11.22955 25.51678 11.82016 25.92105 12.40665 26.33119 curveto
-13.00153 26.74721 13.59216 27.16927 14.17842 27.59735 curveto
-14.77354 28.0319 15.36414 28.47267 15.95018 28.9194 curveto
-16.5455 29.3732 17.13611 29.83315 17.72194 30.29913 curveto
-18.3175 30.77287 18.90808 31.25285 19.4937 31.73885 curveto
-20.08948 32.23328 20.68007 32.73392 21.26546 33.24062 curveto
-21.86147 33.75652 22.45203 34.27866 23.03722 34.80678 curveto
-23.63344 35.34483 24.22404 35.88907 24.80898 36.43938 curveto
-25.40546 37.00055 25.99599 37.568 26.58075 38.14136 curveto
-27.17737 38.72633 27.76794 39.31743 28.35251 39.91444 curveto
-28.94936 40.52402 29.5399 41.13972 30.12427 41.76129 curveto
-30.72133 42.39638 31.3119 43.03752 31.89603 43.68452 curveto
-32.4933 44.3461 33.0838 45.01375 33.66779 45.68709 curveto
-34.2652 46.3759 34.85576 47.07062 35.43954 47.77101 curveto
-36.03719 48.48804 36.6277 49.211 37.2113 49.93951 curveto
-37.8091 50.68575 38.3996 51.43777 38.98306 52.19525 curveto
-39.58101 52.97153 40.17154 53.7535 40.75484 54.54083 curveto
-41.35298 55.3482 41.94347 56.16121 42.5266 56.97949 curveto
-43.12485 57.81898 43.71532 58.66402 44.29836 59.51414 curveto
-44.89673 60.38664 45.48726 61.26451 46.07011 62.14745 curveto
-46.66867 63.05417 47.25912 63.96622 47.84187 64.88318 curveto
-48.44052 65.82516 49.03099 66.77231 49.61363 67.72427 curveto
-50.21239 68.70258 50.80284 69.68593 51.38539 70.67397 curveto
-51.98425 71.68965 52.57474 72.71025 53.15717 73.73546 curveto
-53.75615 74.7898 54.34659 75.84895 54.92892 76.91257 curveto
-55.52795 78.00665 56.11838 79.10542 56.70068 80.2085 curveto
-57.29979 81.3434 57.89026 82.48282 58.47244 83.62648 curveto
-59.07167 84.80362 59.66208 85.98523 60.2442 87.17091 curveto
-60.84343 88.39142 61.43388 89.61623 62.01596 90.845 curveto
-62.61525 92.1101 63.20569 93.37941 63.78772 94.65254 curveto
-64.38707 95.96353 64.97752 97.27858 65.5595 98.59737 curveto
-66.15887 99.9556 66.74925 101.31778 67.33125 102.68355 curveto
-67.93074 104.09036 68.52135 105.50095 69.10301 106.9152 curveto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(5) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_6.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_6.mps
deleted file mode 100644
index 6a2a3c42287..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_6.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 36:81
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86891 lineto
--65.55084 3.01613 lineto
--63.77907 3.17067 lineto
--62.00731 3.3331 lineto
--60.23555 3.50403 lineto
--58.46379 3.68375 lineto
--56.69203 3.87253 lineto
--54.92027 4.07126 lineto
--53.14851 4.27994 lineto
--51.37674 4.49947 lineto
--49.60498 4.7301 lineto
--49.01413 4.8089 -48.42352 4.88957 -47.83322 4.97244 curveto
--47.24234 5.0554 -46.65175 5.14056 -46.06146 5.22766 curveto
--45.47057 5.31485 -44.87994 5.40396 -44.2897 5.49547 curveto
--43.69875 5.58708 -43.10815 5.68108 -42.51794 5.77733 curveto
--41.92697 5.87372 -41.33636 5.97237 -40.74619 6.07352 curveto
--40.15515 6.1748 -39.56458 6.27861 -38.97443 6.38493 curveto
--38.38336 6.49142 -37.79276 6.60045 -37.20265 6.71216 curveto
--36.61154 6.82407 -36.02095 6.93867 -35.4309 7.05608 curveto
--34.83972 7.17369 -34.24911 7.29411 -33.65913 7.41754 curveto
--33.0679 7.54123 -32.4773 7.66795 -31.88737 7.79773 curveto
--31.2961 7.92781 -30.70549 8.06096 -30.11562 8.19725 curveto
--29.52426 8.3339 -28.93364 8.4737 -28.34386 8.61696 curveto
--27.75241 8.76062 -27.16182 8.90776 -26.5721 9.05833 curveto
--25.98059 9.20935 -25.38997 9.36385 -24.80032 9.52194 curveto
--24.20872 9.68057 -23.6181 9.84285 -23.02856 10.00897 curveto
--22.43686 10.1757 -21.84624 10.34631 -21.2568 10.52089 curveto
--20.66501 10.69617 -20.07439 10.87544 -19.48505 11.05884 curveto
--18.89314 11.24304 -18.30252 11.43143 -17.71329 11.62402 curveto
--17.12125 11.81754 -16.53062 12.0153 -15.94153 12.21759 curveto
--15.34935 12.42094 -14.75874 12.62883 -14.16977 12.8413 curveto
--13.57745 13.05496 -12.98682 13.27321 -12.398 13.49632 curveto
--11.80553 13.72081 -11.21492 13.9502 -10.62624 14.18443 curveto
--10.03363 14.42023 -9.44298 14.66093 -8.85448 14.90678 curveto
--8.26167 15.15443 -7.67105 15.40732 -7.08272 15.66542 curveto
--6.48976 15.92555 -5.89912 16.191 -5.31096 16.46182 curveto
--4.71779 16.73495 -4.12715 17.01355 -3.5392 17.29773 curveto
--2.94582 17.58453 -2.35521 17.87704 -1.76744 18.1752 curveto
--1.17386 18.47632 -0.5832 18.78322 0.00432 19.096 curveto
-0.59816 19.41214 1.1888 19.73427 1.7761 20.06244 curveto
-2.37016 20.39438 2.96077 20.73247 3.54785 21.0766 curveto
-4.14214 21.42496 4.73276 21.7795 5.31961 22.14021 curveto
-5.91417 22.50568 6.50484 22.87746 7.09137 23.25565 curveto
-7.68622 23.6392 8.27681 24.02934 8.86313 24.4258 curveto
-9.45819 24.82817 10.04884 25.23705 10.63489 25.65245 curveto
-11.23029 26.07448 11.82089 26.5032 12.40665 26.9385 curveto
-13.00232 27.38116 13.59293 27.8306 14.17842 28.28662 curveto
-14.77437 28.7508 15.36499 29.22177 15.95018 29.69942 curveto
-16.54642 30.18608 17.137 30.67964 17.72194 31.17982 curveto
-18.31845 31.6899 18.90907 32.20682 19.4937 32.73047 curveto
-20.09055 33.26506 20.68112 33.80663 21.26546 34.35487 curveto
-21.86255 34.9151 22.4531 35.48224 23.03722 36.05597 curveto
-23.6346 36.64273 24.22523 37.23633 24.80898 37.83667 curveto
-25.40671 38.4514 25.9972 39.07317 26.58075 39.70137 curveto
-27.17867 40.34503 27.76926 40.99542 28.35251 41.6524 curveto
-28.95078 42.3263 29.54124 43.00706 30.12427 43.69418 curveto
-30.72275 44.3995 31.31332 45.1115 31.89603 45.82991 curveto
-32.49481 46.56816 33.08524 47.31316 33.66779 48.06429 curveto
-34.26672 48.83655 34.8573 49.61528 35.43954 50.4002 curveto
-36.03883 51.20811 36.62926 52.02255 37.2113 52.84296 curveto
-37.81071 53.68784 38.4012 54.539 38.98306 55.39606 curveto
-39.58273 56.27936 40.1732 57.16888 40.75484 58.06418 curveto
-41.3547 58.98753 41.94514 59.91696 42.5266 60.85202 curveto
-43.12663 61.81697 43.71707 62.78787 44.29836 63.76424 curveto
-44.89856 64.77237 45.48897 65.7863 46.07011 66.80554 curveto
-46.67047 67.8585 47.26091 68.9171 47.84187 69.98088 curveto
-48.44241 71.08052 49.03282 72.18565 49.61363 73.29584 curveto
-50.2143 74.44394 50.80467 75.59738 51.38539 76.75569 curveto
-51.98616 77.954 52.57654 79.15749 53.15717 80.36568 curveto
-53.75806 81.61603 54.34845 82.8714 54.92892 84.13136 curveto
-55.52994 85.43591 56.12029 86.74536 56.70068 88.0592 curveto
-57.30176 89.41983 57.89215 90.78516 58.47244 92.15477 curveto
-59.07362 93.57368 59.66394 94.99716 60.2442 96.42476 curveto
-60.84538 97.90385 61.43578 99.3873 62.01596 100.87476 curveto
-62.61726 102.41632 63.20761 103.96213 63.78772 105.51178 curveto
-64.38907 107.11816 64.97942 108.72865 65.5595 110.34285 curveto
-66.16084 112.01622 66.75113 113.69356 67.33125 115.3744 curveto
-67.9328 117.11732 68.52339 118.86403 69.10301 120.61436 curveto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(6) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_7.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_7.mps
deleted file mode 100644
index 2d162123e02..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_7.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 37:82
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86891 lineto
--65.55084 3.01613 lineto
--63.77907 3.17067 lineto
--62.00731 3.3331 lineto
--60.23555 3.50403 lineto
--58.46379 3.68375 lineto
--56.69203 3.87253 lineto
--54.92027 4.07126 lineto
--53.14851 4.27994 lineto
--51.37674 4.49947 lineto
--50.78592 4.5745 -50.19531 4.65129 -49.60498 4.7301 curveto
--49.01413 4.80898 -48.42354 4.88988 -47.83322 4.97273 curveto
--47.24234 5.05566 -46.65173 5.14056 -46.06146 5.22766 curveto
--45.47055 5.31485 -44.87996 5.40424 -44.2897 5.49576 curveto
--43.69876 5.58739 -43.10815 5.68115 -42.51794 5.77733 curveto
--41.92696 5.87363 -41.33636 5.97235 -40.74619 6.07352 curveto
--40.15517 6.17482 -39.56456 6.27856 -38.97443 6.38493 curveto
--38.38335 6.49147 -37.79276 6.60065 -37.20265 6.71246 curveto
--36.61154 6.82448 -36.02094 6.93915 -35.4309 7.05666 curveto
--34.83972 7.17438 -34.24913 7.29494 -33.65913 7.41841 curveto
--33.0679 7.54214 -32.4773 7.66881 -31.88737 7.79861 curveto
--31.29608 7.92871 -30.70547 8.06197 -30.11562 8.19843 curveto
--29.52426 8.33524 -28.93364 8.47527 -28.34386 8.61871 curveto
--27.75241 8.76257 -27.1618 8.90985 -26.5721 9.06067 curveto
--25.98058 9.21194 -25.38998 9.36678 -24.80032 9.52516 curveto
--24.20871 9.68407 -23.61809 9.84657 -23.02856 10.01308 curveto
--22.43683 10.1802 -21.84624 10.35136 -21.2568 10.52644 curveto
--20.66501 10.70222 -20.07437 10.88197 -19.48505 11.06587 curveto
--18.89311 11.2506 -18.30249 11.43953 -17.71329 11.6328 curveto
--17.12122 11.82701 -16.53061 12.0256 -15.94153 12.2287 curveto
--15.34932 12.43288 -14.7587 12.64159 -14.16977 12.85506 curveto
--13.57741 13.06978 -12.98679 13.28928 -12.398 13.5136 curveto
--11.8055 13.73932 -11.21487 13.96991 -10.62624 14.2055 curveto
--10.03355 14.44272 -9.44292 14.68501 -8.85448 14.93254 curveto
--8.26161 15.18193 -7.67097 15.43665 -7.08272 15.69675 curveto
--6.48965 15.95897 -5.89905 16.22665 -5.31096 16.49986 curveto
--4.71768 16.77547 -4.12704 17.05669 -3.5392 17.34369 curveto
--2.94571 17.63345 -2.3551 17.92912 -1.76744 18.23051 curveto
--1.17374 18.535 -0.58305 18.84534 0.00432 19.16185 curveto
-0.59834 19.48193 1.18895 19.80833 1.7761 20.14088 curveto
-2.3703 20.47743 2.96092 20.82028 3.54785 21.16937 curveto
-4.14233 21.52295 4.73299 21.88292 5.31961 22.24939 curveto
-5.91443 22.62099 6.50507 22.99925 7.09137 23.38414 curveto
-7.68645 23.7748 8.27702 24.17224 8.86313 24.57625 curveto
-9.45848 24.98663 10.04916 25.40376 10.63489 25.82777 curveto
-11.23062 26.25903 11.82118 26.6974 12.40665 27.14252 curveto
-13.00264 27.59564 13.5933 28.05573 14.17842 28.52281 curveto
-14.77481 28.9989 15.36536 29.48225 15.95018 29.97249 curveto
-16.54681 30.47263 17.13744 30.97989 17.72194 31.49417 curveto
-18.31897 32.01947 18.90956 32.55203 19.4937 33.09164 curveto
-20.09105 33.64348 20.6816 34.20264 21.26546 34.76874 curveto
-21.86311 35.34822 22.4537 35.93494 23.03722 36.52866 curveto
-23.63525 37.13716 24.22581 37.753 24.80898 38.3758 curveto
-25.40733 39.01482 25.99786 39.6611 26.58075 40.31425 curveto
-27.17938 40.98506 27.76991 41.66306 28.35251 42.34784 curveto
-28.95148 43.05186 29.54204 43.763 30.12427 44.48093 curveto
-30.72359 45.21992 31.31406 45.96605 31.89603 46.7188 curveto
-32.4956 47.49432 33.0861 48.27681 33.66779 49.06586 curveto
-34.26768 49.87961 34.85814 50.70027 35.43954 51.52734 curveto
-36.03967 52.38106 36.63011 53.24153 37.2113 54.10825 curveto
-37.81168 55.00356 38.40216 55.90547 38.98306 56.81354 curveto
-39.58376 57.75255 40.1742 58.6981 40.75484 59.64966 curveto
-41.35574 60.6344 41.94612 61.62553 42.5266 62.62247 curveto
-43.12769 63.65482 43.71811 64.69333 44.29836 65.73753 curveto
-44.89967 66.81967 45.49004 67.90788 46.07011 69.00156 curveto
-46.6716 70.13559 47.262 71.27548 47.84187 72.42072 curveto
-48.44357 73.60905 49.0339 74.8031 49.61363 76.0023 curveto
-50.21545 77.24722 50.80582 78.49765 51.38539 79.75308 curveto
-51.9874 81.05708 52.57773 82.36644 53.15717 83.68063 curveto
-53.7593 85.04628 54.34962 86.41708 54.92892 87.79257 curveto
-55.53119 89.22258 56.12149 90.6576 56.70068 92.0971 curveto
-57.30302 93.59413 57.89333 95.09596 58.47244 96.60213 curveto
-59.07489 98.16898 59.66519 99.74046 60.2442 101.31612 curveto
-60.84674 102.95581 61.43703 104.59999 62.01596 106.24817 curveto
-62.61856 107.96375 63.20886 109.68362 63.78772 111.40735 curveto
-64.3904 113.20201 64.9807 115.0008 65.5595 116.8033 curveto
-66.16219 118.68018 66.7524 120.56104 67.33125 122.4454 curveto
-67.93419 124.40813 68.52478 126.37463 69.10301 128.34477 curveto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(7) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/frame_8.mps b/Master/texmf-dist/doc/latex/animate/doc/files/frame_8.mps
deleted file mode 100644
index e0d2b78ca1e..00000000000
--- a/Master/texmf-dist/doc/latex/animate/doc/files/frame_8.mps
+++ /dev/null
@@ -1,102 +0,0 @@
-%!PS
-%%BoundingBox: -72 2 70 140
-%%HiResBoundingBox: -71.43304 2.0289 69.66994 139.63223
-%%Creator: MetaPost 0.901
-%%CreationDate: 2007.09.13:1645
-%%Pages: 1
-%*Font: cmmi10 9.96265 9.96265 6e:8
-%*Font: cmr10 9.96265 9.96265 38:84
-%%BeginProlog
-%%EndProlog
-%%Page: 1 1
- 0 0 1 setrgbcolor 0 1.13383 dtransform truncate idtransform setlinewidth pop
- [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit
-newpath -70.86612 2.59583 moveto
--69.09436 2.729 lineto
--67.3226 2.86891 lineto
--65.55084 3.01613 lineto
--63.77907 3.17067 lineto
--62.00731 3.3331 lineto
--60.23555 3.50403 lineto
--58.46379 3.68375 lineto
--56.69203 3.87253 lineto
--54.92027 4.07126 lineto
--53.14851 4.27994 lineto
--51.37674 4.49947 lineto
--50.78592 4.5745 -50.19531 4.65129 -49.60498 4.7301 curveto
--49.01413 4.80898 -48.42354 4.88988 -47.83322 4.97273 curveto
--47.24234 5.05566 -46.65173 5.14056 -46.06146 5.22766 curveto
--45.47055 5.31485 -44.87996 5.40424 -44.2897 5.49576 curveto
--43.69878 5.58739 -43.10815 5.68117 -42.51794 5.77733 curveto
--41.92696 5.87361 -41.33635 5.97227 -40.74619 6.07352 curveto
--40.15515 6.1749 -39.56458 6.27887 -38.97443 6.38524 curveto
--38.38336 6.49178 -37.79276 6.60072 -37.20265 6.71246 curveto
--36.61153 6.8244 -36.02094 6.93915 -35.4309 7.05666 curveto
--34.83972 7.1744 -34.24911 7.29488 -33.65913 7.41841 curveto
--33.0679 7.5422 -32.47731 7.66904 -31.88737 7.7989 curveto
--31.2961 7.92906 -30.70547 8.06227 -30.11562 8.19872 curveto
--29.52425 8.33551 -28.93364 8.47556 -28.34386 8.61902 curveto
--27.75241 8.7629 -27.16182 8.91019 -26.5721 9.06097 curveto
--25.98058 9.21222 -25.38995 9.36697 -24.80032 9.52547 curveto
--24.2087 9.68451 -23.6181 9.84732 -23.02856 10.01395 curveto
--22.43686 10.18118 -21.84624 10.35225 -21.2568 10.52733 curveto
--20.66498 10.70311 -20.07434 10.88295 -19.48505 11.06703 curveto
--18.8931 11.25194 -18.3025 11.44115 -17.71329 11.63455 curveto
--17.12123 11.8289 -16.53058 12.02748 -15.94153 12.23076 curveto
--15.34929 12.43513 -14.7587 12.64426 -14.16977 12.85799 curveto
--13.57742 13.07297 -12.98679 13.29259 -12.398 13.5171 curveto
--11.80547 13.74304 -11.21483 13.97389 -10.62624 14.2099 curveto
--10.03354 14.44756 -9.44293 14.69041 -8.85448 14.93839 curveto
--8.26161 15.18822 -7.67094 15.4432 -7.08272 15.70377 curveto
--6.48961 15.96648 -5.89902 16.23482 -5.31096 16.50865 curveto
--4.71767 16.78491 -4.127 17.06677 -3.5392 17.3545 curveto
--2.94565 17.64507 -2.35506 17.94162 -1.76744 18.24399 curveto
--1.1737 18.5495 -0.58304 18.86092 0.00432 19.17853 curveto
-0.59837 19.49976 1.189 19.82732 1.7761 20.16107 curveto
-2.37036 20.4989 2.96101 20.8431 3.54785 21.19368 curveto
-4.14243 21.54889 4.73305 21.91064 5.31961 22.27895 curveto
-5.91447 22.65245 6.50511 23.03267 7.09137 23.41956 curveto
-7.68655 23.81233 8.27718 24.21196 8.86313 24.6184 curveto
-9.45862 25.03145 10.04924 25.45149 10.63489 25.8784 curveto
-11.2307 26.31273 11.82133 26.75414 12.40665 27.20251 curveto
-13.0028 27.6592 13.59341 28.12306 14.17842 28.59393 curveto
-14.77492 29.07405 15.36555 29.5614 15.95018 30.05591 curveto
-16.54707 30.56079 17.13765 31.0731 17.72194 31.59251 curveto
-18.31912 32.12338 18.90971 32.6616 19.4937 33.20695 curveto
-20.09128 33.76498 20.6819 34.33041 21.26546 34.90308 curveto
-21.8634 35.48985 22.45392 36.0842 23.03722 36.68553 curveto
-23.63545 37.30226 24.22607 37.92632 24.80898 38.55756 curveto
-25.40768 39.20592 25.99818 39.86179 26.58075 40.52469 curveto
-27.1797 41.20625 27.77023 41.89517 28.35251 42.59105 curveto
-28.95183 43.3073 29.54236 44.03085 30.12427 44.76132 curveto
-30.72397 45.5141 31.31445 46.27417 31.89603 47.04105 curveto
-32.496 47.8322 33.08644 48.63055 33.66779 49.43552 curveto
-34.26807 50.2667 34.85861 51.10486 35.43954 51.94968 curveto
-36.0402 52.82318 36.63055 53.70372 37.2113 54.59059 curveto
-37.81213 55.50812 38.40265 56.43234 38.98306 57.3629 curveto
-39.5843 58.32683 40.17467 59.29749 40.75484 60.27425 curveto
-41.35625 61.28677 41.94666 62.30579 42.5266 63.33076 curveto
-43.12828 64.39418 43.71863 65.46394 44.29836 66.53949 curveto
-44.90024 67.65616 45.49062 68.77898 46.07011 69.90742 curveto
-46.67224 71.07996 47.26259 72.2585 47.84187 73.44247 curveto
-48.4442 74.67354 49.03453 75.91043 49.61363 77.15257 curveto
-50.21613 78.44489 50.80646 79.74283 51.38539 81.04587 curveto
-51.98807 82.40236 52.57837 83.76433 53.15717 85.13118 curveto
-53.76 86.5548 54.3503 87.98366 54.92892 89.41727 curveto
-55.53192 90.91129 56.12221 92.41042 56.70068 93.9141 curveto
-57.30379 95.48177 57.89403 97.05435 58.47244 98.63132 curveto
-59.07564 100.27586 59.66592 101.92511 60.2442 103.57858 curveto
-60.84753 105.3037 61.43779 107.03334 62.01596 108.76703 curveto
-62.61937 110.5764 63.20963 112.39014 63.78772 114.20776 curveto
-64.39124 116.1053 64.98149 118.00703 65.5595 119.9125 curveto
-66.16302 121.90213 66.75317 123.89578 67.33125 125.89294 curveto
-67.93503 127.97888 68.52562 130.0686 69.10301 132.16199 curveto stroke
- 0 setgray
--68.76613 133.21184 moveto
-(n) cmmi10 9.96265 fshow
--60.01883 133.21184 moveto
-(=) cmr10 9.96265 fshow
--49.50282 133.21184 moveto
-(8) cmr10 9.96265 fshow
-showpage
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/animate/doc/files/scarab.mp b/Master/texmf-dist/doc/latex/animate/doc/files/scarab.mp
new file mode 100644
index 00000000000..8a74b530cc0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/animate/doc/files/scarab.mp
@@ -0,0 +1,128 @@
+%@AUTHOR: Maxime Chupin, Alexander Grahn
+%@DATE: 2007/10/02
+
+filenametemplate "%j_%c.mps";
+
+verbatimtex
+%&latex
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage{amsmath}
+%\usepackage[mdugm]{mathdesign}
+\begin{document}
+etex
+
+u:=4cm;
+picture trait;
+
+vardef proj(expr P,M,N)=
+ save H;
+ pair H;
+ H=whatever [M,N];
+ H-P=whatever * (M - N) rotated 90;
+ H
+enddef;
+
+path dr,cercle,drb,scara;
+pair A,B,C,D,Q,T,O',P,O,M,M',N;
+O:=(0,0);
+O':=(-u/3,0);
+A:=(u/sqrt(2),u/sqrt(2)) shifted O' ;
+B:=(u/sqrt(2),-u/sqrt(2)) shifted O';
+C:=(-u/sqrt(2),-u/sqrt(2))shifted O';
+D:=(-u/sqrt(2),u/sqrt(2)) shifted O';
+dr:=A--C;
+drb:=B--D;
+
+%scarabaeus construction
+for i:=0 upto 100:
+ if i=0:
+ P:=A;
+ Q:=O';
+ M:=proj(O,P,Q);
+ scara:=M;
+ else:
+ for j:=1 upto 4:
+ k:=4*(i-1)+j;
+ if (k<200) or (k=200):
+ P:=point (k*0.005) of dr;
+ cercle:=halfcircle
+ scaled 2u rotated 45 shifted P;
+ if k=0:
+ Q:=O';
+ fi;
+ if (k<>0) and (k<>200):
+ Q:=cercle intersectionpoint drb;
+ fi;
+ if k=200:
+ Q:=O';
+ fi;
+ else:
+ P:= point (2-k*0.005) of dr;
+ cercle:=halfcircle
+ scaled 2u rotated (-135) shifted P;
+ if k<400:
+ Q:=cercle intersectionpoint drb;
+ fi;
+ if k=400:
+ Q:=O';
+ fi;
+ fi;
+ M:=proj(O,P,Q);
+ scara:=scara--M;
+ endfor;
+ fi;
+ beginfig(i) %scarabaeus
+ setbounds currentpicture to
+ (u,1.2u)--(u,-1.2u)--(-1.5u,-1.2u)--(-1.5u,1.2u)--cycle;
+ draw 12[P,Q]--12[Q,P] dashed evenly;
+ draw O--M dashed evenly;
+ pickup pencircle scaled 1pt;
+ draw scara withcolor red;
+ pickup pencircle scaled 1.4pt;
+ draw P--Q withcolor blue;
+ label.rt(btex $2l$ etex, 0.5[P,Q]);
+ dotlabel.urt(btex $P$ etex, P);
+ dotlabel.llft(btex $Q$ etex,Q);
+ dotlabel.top(btex $M$ etex,M);
+ clip currentpicture to
+ (u,1.2u)--(u,-1.2u)--(-1.5u,-1.2u)--(-1.5u,1.2u)--cycle;
+ endfig;
+ if (i/2.-floor(i/2.))=0: %gray lines every second image
+ beginfig(i/2+101)
+ setbounds currentpicture to
+ (u,1.2u)--(u,-1.2u)--(-1.5u,-1.2u)--(-1.5u,1.2u)--cycle;
+ draw P--Q withcolor 0.8 white;
+ clip currentpicture to
+ (u,1.2u)--(u,-1.2u)--(-1.5u,-1.2u)--(-1.5u,1.2u)--cycle;
+ endfig;
+ fi;
+endfor;
+
+%coordinate axes and stationary stuff
+beginfig(152);
+ setbounds currentpicture to
+ (u,1.2u)--(u,-1.2u)--(-1.5u,-1.2u)--(-1.5u,1.2u)--cycle;
+ path ida,mida;
+ drawarrow(-1.5u,0)--(1u,0);
+ drawarrow(0,-1.2u)--(0,1.2u);
+ ida:=12[A,C]--12[C,A];
+ mida:=(12[D,B]--12[B,D]);
+ draw ida dashed evenly;
+ draw mida dashed evenly;
+ label.top(btex $a$ etex, 0.5[O,O']);
+ label.top(btex $x$ etex, (0.8u,0));
+ label.rt(btex $y$ etex, (0,u));
+ label.bot(btex\itshape{\underline{scarabaeus}} etex,(-1.1u,1.1u));
+ label.bot(btex $r=l\cos 2t-a\cos t$ etex, (-u/2,1.1u));
+ dotlabel.urt(btex $O'$ etex, O');
+ dotlabel.urt(btex $O$ etex, O);
+ dotlabel.rt(btex $A$ etex,A);
+ dotlabel.rt(btex $B$ etex,B);
+ dotlabel.lft(btex $C$ etex,C);
+ dotlabel.lft(btex $D$ etex,D);
+ clip currentpicture to
+ (u,1.2u)--(u,-1.2u)--(-1.5u,-1.2u)--(-1.5u,1.2u)--cycle;
+endfig;
+
+end.
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 19cceb22321..19d52b55ee6 100644
--- a/Master/texmf-dist/tex/latex/animate/animate.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate.sty
@@ -13,7 +13,7 @@
% Supports LaTeX->dvips->ps2pdf or pdfLaTeX workflows.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{animate}[2007/09/17]
+\ProvidesPackage{animate}[2007/10/23]
\RequirePackage{keyval}
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
@@ -29,9 +29,11 @@
\InputIfFileExists{supp-pdf}{}{}%
\ifx\convertMPtoPDF\@undefined%
\PackageWarningNoLine{animate}{%
- File `supp-pdf.tex', which is part of ConTeXt, is not available.%
+ File `supp-pdf.tex', which is part of ConTeXt, is not%
\MessageBreak%
- Therefore, MetaPost generated PS files cannot be embedded.%
+ available. Therefore, MetaPost generated PS files%
+ \MessageBreak%
+ cannot be embedded using pdfTeX%
}%
\fi%
\fi%
@@ -64,6 +66,13 @@
\fi
\fi
+%\pdfmdfivesum is used for hashing object references of embedded files based
+%on their MD5 digest (in order to avoid multiple inclusion); if it is not
+%available, hashing will be based on the file name
+\ifx\@undefined\pdfmdfivesum
+ \def\pdfmdfivesum file #1{#1}
+\fi
+
%creating and using global definitions
\def\@anim@newkey#1#2{{\expandafter\xdef\csname#1\endcsname{#2}}}
\def\@anim@getkeyval#1{\csname#1\endcsname}
@@ -123,30 +132,16 @@
\newdimen\@anim@tmpdima %length registers for occasional use
\newdimen\@anim@tmpdimb
-\ifx\pdfmdfivesum\@undefined%
- %tests whether file is known, if so it returns identifier of form xobj
- %otherwise `!'
- \def\@anim@fileknown#1{% #1 filename
- %identify file by name
- \expandafter\ifx\csname file:#1\endcsname\relax!%
- \else\@anim@getkeyval{file:#1}\fi%
- }
- %helper macro that associates filename with identifier of xobject
- \def\@anim@makefileknown#1#2{% #1 file name, #2 obj identifier
- \@anim@newkey{file:#1}{#2}%
- }
-\else
- \def\@anim@fileknown#1{% #1 file name
- %identify file by md5sum
- \expandafter\ifx\csname file:\pdfmdfivesum file {#1}\endcsname\relax!%
- \else\@anim@getkeyval{file:\pdfmdfivesum file {#1}}\fi%
- }%
- \def\@anim@makefileknown#1#2{%
- \@anim@newkey{file:\pdfmdfivesum file {#1}}{#2}%
- }
-\fi
-
-\def\@anim@pt{pt}
+%tests whether file is known, if so it returns identifier of form xobj
+%otherwise `!'
+\def\@anim@fileknown#1{% #1 file name
+ %identify file by md5sum
+ \expandafter\ifx\csname file:\pdfmdfivesum file {#1}\endcsname\relax!%
+ \else\@anim@getkeyval{file:\pdfmdfivesum file {#1}}\fi%
+}
+\def\@anim@makefileknown#1#2{%
+ \@anim@newkey{file:\pdfmdfivesum file {#1}}{#2}%
+}
\ifpdf
%helper macro that typesets graphics file into savebox
@@ -173,7 +168,7 @@
\@anim@xinline{#1}{#2}{\@anim@box}{!}% delegate Form XObject creation
\@anim@makefileknown{#3}{\@anim@lastxform}% keep form xobject number
}{% file known, re-use existing form xobject
- \ifnum#2=0%
+ \ifnum#2=0
\@anim@filebox{#3}% for size determination of first frame
\@anim@xinline{#1}{#2}{\@anim@box}{\@anim@fileknown{#3}}%
\else%
@@ -190,7 +185,7 @@
%#1: @anim@num, #2:@anim@curframe@zb, #3: empty (`') or box number,
%#4: `!' or form xobj identifier
\def\@anim@xinline#1#2#3#4{%
- \ifnum#2=0% measuring the size of the box (first frame only)
+ \ifnum#2=0 %measuring the size of the box (first frame only)
\xdef\@anim@animwidth{\strip@pt\wd#3}%
\xdef\@anim@animheight{\strip@pt\ht#3}%
\xdef\@anim@animdepth{\strip@pt\dp#3}%
@@ -198,20 +193,19 @@
\addtolength{\@anim@tmpdima}{\dp#3}%
\xdef\@anim@animtotalheight{\strip@pt\@anim@tmpdima}%
\fi%
- \ifx #4!%
+ \ifthenelse{\equal{#4}{!}}{%
%put graphics into XObject
\setbox\@anim@box=\hbox{%
- \raisebox{-\dp#3}[\@anim@animheight\@anim@pt]%
- [\@anim@animdepth\@anim@pt]{\box#3}%
+ \raisebox{-\dp#3}[\@anim@animheight\p@][\@anim@animdepth\p@]{\box#3}%
}%
\immediate\pdfxform\@anim@box%
\xdef\@anim@lastxform{\the\pdflastxform}%
\xdef\@anim@xobject{%XObject resource entry of container XObject
\@anim@xobject\space/im#2\space\@anim@lastxform\space 0 R%
}%
- \else%
+ }{%
\xdef\@anim@xobject{\@anim@xobject\space/im#2\space #4\space 0 R}%
- \fi%
+ }%
\if@anim@timeline\else%
\@anim@newocg{#1}{#2}%new ocg
%compose content stream of container XObject
@@ -222,7 +216,7 @@
}
\else
\def\@anim@xinline#1#2#3#4{%
- \ifnum#2=0%
+ \ifnum#2=0
\xdef\@anim@animwidth{\strip@pt\wd#3}%
\xdef\@anim@animheight{\strip@pt\ht#3}%
\xdef\@anim@animdepth{\strip@pt\dp#3}%
@@ -230,7 +224,7 @@
\addtolength{\@anim@tmpdima}{\dp#3}%
\xdef\@anim@animtotalheight{\strip@pt\@anim@tmpdima}%
\fi%
- \ifx #4!%
+ \ifthenelse{\equal{#4}{!}}{%
\begingroup%
\setlength{\unitlength}{1pt}%
%mark BBox of the graphics
@@ -274,7 +268,7 @@
}{% flip around horizontal axis in portrait mode
[1 0 0 -1 0 frame@lly frame@ury add] concat%
}ifelse
- } ?pdfmark
+ }?pdfmark
}%
\begin{picture}(0,0)%
\put(0,0){\box#3}%
@@ -287,11 +281,11 @@
\xdef\@anim@xobject{% XObject resource entry of container XObject
\@anim@xobject\space/im#2\space {@anim@frm@#1@#2}%
}%
- \else%
+ }{%
\xdef\@anim@xobject{% XObject resource entry of container XObject
\@anim@xobject\space/im#2\space {#4}%
}%
- \fi%
+ }%
\if@anim@timeline\else%
\@anim@newocg{#1}{#2}% new ocg
%compose content stream of container XObject
@@ -310,7 +304,7 @@
%append to ocg array
\xdef\@anim@ocgs{\@anim@ocgs\space\@anim@curocg}%
%store ref to ocg if it's a poster
- \ifnum#2=0%
+ \ifnum#2=0
\def\@anim@posterframe{first}%
\else%
\def\@anim@posterframe{last}%
@@ -332,7 +326,7 @@
>> /PUT pdfmark
mark {@anim@ocgs} {@anim@ocg@#1@#2} /APPEND pdfmark
}%
- \ifnum#2=0%
+ \ifnum#2=0
\def\@anim@posterframe{first}%
\else%
\def\@anim@posterframe{last}%
@@ -382,7 +376,7 @@
%create container XObjects for play & pause button faces;
\ifpdf
\def\@anim@makeppcontainer#1#2#3{% #1: @anim@num, #2: Right or Left,
- %OCGs #3: index of existing button face colour combination
+ % #3: index of existing button face colour combination
\immediate\pdfobj{<</Type/OCG /Name (#1.Play#2)>>}%
\edef\@anim@playocg{\the\pdflastobj\space 0 R}%
\immediate\pdfobj{<< /Type/OCG /Name (#1.Pause#2)>>}%
@@ -822,7 +816,7 @@
[-1 0 0 1 15 0] concat% flip around vertical axis
}if
#2
- } ?pdfmark mark /EP pdfmark
+ }?pdfmark mark /EP pdfmark
grestore
}%
}
@@ -930,7 +924,7 @@
\vtop{% draw boxes
\offinterlineskip%
\hbox{%
- \raisebox{-\@anim@animdepth\@anim@pt}{%
+ \raisebox{-\@anim@animdepth\p@}{%
\begin{picture}(\@anim@animwidth,\@anim@animtotalheight)%
\put(0,0){\framebox(\@anim@animwidth,\@anim@animtotalheight){}}%
\end{picture}%
@@ -939,7 +933,7 @@
\if@anim@controls%
\setlength{\@anim@tmpdima}{\@anim@btnsize}%
\vskip 0.1\@anim@tmpdima%
- \hbox to \@anim@animwidth\@anim@pt {%
+ \hbox to \@anim@animwidth\p@ {%
\hss%
\setlength{\@anim@tmpdimb}{2\@anim@tmpdima}%
\begin{picture}(\strip@pt\@anim@tmpdimb,\strip@pt\@anim@tmpdima)%
@@ -1013,8 +1007,8 @@
\@anim@getext{%
\@anim@base\@anim@pad{\@anim@first}{\the\@anim@curframe}%
}%
- \advance\@anim@curframe by 1%
- \advance\@anim@curframe@zb by 1%
+ \advance\@anim@curframe by \@anim@every%
+ \advance\@anim@curframe@zb by \@ne%
\repeat%
%draw draftbox according to dimensions of the first frame
\@anim@filedraftbox{\@anim@base\@anim@first\@anim@ext}%
@@ -1047,8 +1041,8 @@
\@anim@ximage{\the\@anim@num}{\the\@anim@curframe@zb}{%
\@anim@base\@anim@pad{\@anim@first}{\the\@anim@curframe}\@anim@ext%
}%
- \advance\@anim@curframe by 1%
- \advance\@anim@curframe@zb by 1%
+ \advance\@anim@curframe by \@anim@every%
+ \advance\@anim@curframe@zb by \@ne%
\repeat%
\xdef\@anim@frames{\the\@anim@curframe@zb}% total number
%build timeline from optional timeline file
@@ -1058,7 +1052,7 @@
\@anim@insertwidgets{\the\@anim@num}{%
\@anim@getkeyval{btncol:\@anim@bgcolour:\@anim@fgcolour}}%
\fi%
- \global\advance\@anim@num by 1%
+ \global\advance\@anim@num by \@ne%
\endgroup%
}%
@@ -1070,7 +1064,7 @@
\if@anim@controls%
\setlength{\@anim@tmpdima}{\@anim@btnsize}%
\vskip 0.1\@anim@tmpdima%
- \hbox to \@anim@animwidth\@anim@pt {%
+ \hbox to \@anim@animwidth\p@ {%
\hss%
\@anim@buttonwidget{#1}{EndLeft}{EndLeft:#2}%
\@anim@buttonwidget{#1}{StepLeft}{StepLeft:#2}%
@@ -1112,12 +1106,12 @@
%ht & dp to keep aspect ratio
\ifthenelse{\NOT\equal{\@anim@boxwidth}{}}{%
\setlength{\@anim@tmpdima}{%
- \@anim@animheight\@anim@pt%
- *\ratio{\@anim@boxwidth\@anim@pt}{\@anim@animwidth\@anim@pt}%
+ \@anim@animheight\p@%
+ *\ratio{\@anim@boxwidth\p@}{\@anim@animwidth\p@}%
}\xdef\@anim@animheight{\strip@pt\@anim@tmpdima}%
\setlength{\@anim@tmpdima}{%
- \@anim@animdepth\@anim@pt%
- *\ratio{\@anim@boxwidth\@anim@pt}{\@anim@animwidth\@anim@pt}%
+ \@anim@animdepth\p@%
+ *\ratio{\@anim@boxwidth\p@}{\@anim@animwidth\p@}%
}\xdef\@anim@animdepth{\strip@pt\@anim@tmpdima}%
}{}%
}%
@@ -1129,10 +1123,10 @@
\equal{\@anim@boxdepth}{}%
}{%
\setlength{\@anim@tmpdima}{%
- \@anim@animtotalheight\@anim@pt%
- *\ratio{\@anim@boxwidth\@anim@pt}{\@anim@animwidth\@anim@pt}%
+ \@anim@animtotalheight\p@%
+ *\ratio{\@anim@boxwidth\p@}{\@anim@animwidth\p@}%
}%
- \setlength{\@anim@tmpdimb}{\@anim@tmpdima-\@anim@boxheight\@anim@pt}%
+ \setlength{\@anim@tmpdimb}{\@anim@tmpdima-\@anim@boxheight\p@}%
\xdef\@anim@animdepth{\strip@pt\@anim@tmpdimb}%
}{%
\ifthenelse{% height missing
@@ -1140,10 +1134,10 @@
\NOT\equal{\@anim@boxdepth}{}%
}{%
\setlength{\@anim@tmpdima}{%
- \@anim@animtotalheight\@anim@pt%
- *\ratio{\@anim@boxwidth\@anim@pt}{\@anim@animwidth\@anim@pt}%
+ \@anim@animtotalheight\p@%
+ *\ratio{\@anim@boxwidth\p@}{\@anim@animwidth\p@}%
}%
- \setlength{\@anim@tmpdimb}{\@anim@tmpdima-\@anim@boxdepth\@anim@pt}%
+ \setlength{\@anim@tmpdimb}{\@anim@tmpdima-\@anim@boxdepth\p@}%
\xdef\@anim@animheight{\strip@pt\@anim@tmpdimb}%
}{}%
}%
@@ -1156,26 +1150,25 @@
\NOT\equal{\@anim@boxdepth}{}%
}{%
\setlength{\@anim@tmpdima}{%
- \@anim@animwidth\@anim@pt%
- *\ratio{%
- \@anim@animheight\@anim@pt+\@anim@animdepth\@anim@pt%
- }{\@anim@animtotalheight\@anim@pt}%
+ \@anim@animwidth\p@%
+ *\ratio{\@anim@animheight\p@+\@anim@animdepth\p@}{%
+ \@anim@animtotalheight\p@}%
}%
\xdef\@anim@animwidth{\strip@pt\@anim@tmpdima}%
}{}%
}%
%apply scaling factor
- \setlength{\@anim@tmpdima}{\@anim@animwidth\@anim@pt}%
+ \setlength{\@anim@tmpdima}{\@anim@animwidth\p@}%
\setlength{\@anim@tmpdima}{\@anim@boxscale\@anim@tmpdima}%
\xdef\@anim@animwidth{\strip@pt\@anim@tmpdima}%
- \setlength{\@anim@tmpdima}{\@anim@animheight\@anim@pt}%
+ \setlength{\@anim@tmpdima}{\@anim@animheight\p@}%
\setlength{\@anim@tmpdima}{\@anim@boxscale\@anim@tmpdima}%
\xdef\@anim@animheight{\strip@pt\@anim@tmpdima}%
- \setlength{\@anim@tmpdima}{\@anim@animdepth\@anim@pt}%
+ \setlength{\@anim@tmpdima}{\@anim@animdepth\p@}%
\setlength{\@anim@tmpdima}{\@anim@boxscale\@anim@tmpdima}%
\xdef\@anim@animdepth{\strip@pt\@anim@tmpdima}%
- \setlength{\@anim@tmpdima}{\@anim@animheight\@anim@pt}%
- \addtolength{\@anim@tmpdima}{\@anim@animdepth\@anim@pt}%
+ \setlength{\@anim@tmpdima}{\@anim@animheight\p@}%
+ \addtolength{\@anim@tmpdima}{\@anim@animdepth\p@}%
\xdef\@anim@animtotalheight{\strip@pt\@anim@tmpdima}%
}
@@ -1192,9 +1185,8 @@
\xdef\@anim@posterocgs{\@anim@posterocgs\space\@anim@posterocg}%
\fi%
\pdfannot
- width \@anim@animwidth\@anim@pt
- height \@anim@animheight\@anim@pt
- depth \@anim@animdepth\@anim@pt
+ width \@anim@animwidth\p@ height \@anim@animheight\p@
+ depth \@anim@animdepth\p@
{%
/Subtype/Widget%
/F 4% allow printing
@@ -1208,9 +1200,8 @@
\@anim@otherjscriptkey%
>>%
}%
- \hbox to \@anim@animwidth\@anim@pt {%
- \vrule width 0pt height \@anim@animheight\@anim@pt
- depth \@anim@animdepth\@anim@pt%
+ \hbox to \@anim@animwidth\p@ {%
+ \vrule width 0pt height \@anim@animheight\p@ depth \@anim@animdepth\p@%
\hss%
}%
}%
@@ -1255,9 +1246,8 @@
>>%
/ANN pdfmark
}%
- \hbox to \@anim@animwidth\@anim@pt {%
- \vrule width 0pt height \@anim@animheight\@anim@pt
- depth \@anim@animdepth\@anim@pt%
+ \hbox to \@anim@animwidth\p@ {%
+ \vrule width 0pt height \@anim@animheight\p@ depth \@anim@animdepth\p@%
\hss%
}%
}
@@ -1329,6 +1319,8 @@
\newboolean{@anim@chfps} % true if \newframe or \newframe* is being used
% with optional `new frame rate' argument
+\newcount\@anim@skipfram % counter for skipped frames
+
%user environment for animating inline graphics
% #1: options
% #2: frame rate (fps)
@@ -1357,12 +1349,13 @@
\xdef\@anim@nfps{#2}% current frame rate (for use in \newframe)
\fi%
\global\@anim@curframe@zb=0%
+ \global\@anim@skipfram=0%
\@anim@beginframe%
\ignorespaces%
}{%
\unskip%
\@anim@endframe{\the\@anim@num}{\the\@anim@curframe@zb}%
- \global\advance\@anim@curframe@zb by 1%
+ \global\advance\@anim@curframe@zb by \@ne%
\if@anim@draft\else%
\xdef\@anim@frames{\the\@anim@curframe@zb}% total number
%build timeline from optional timeline file
@@ -1372,7 +1365,7 @@
\@anim@insertwidgets{\the\@anim@num}{%
\@anim@getkeyval{btncol:\@anim@bgcolour:\@anim@fgcolour}}%
\fi%
- \global\advance\@anim@num by 1%
+ \global\advance\@anim@num by \@ne%
\setboolean{@anim@inside}{false}%
\endgroup%
}
@@ -1391,70 +1384,74 @@
\@ifstar\@anim@newframestar\@anim@newframe%
}
\newcommand{\@anim@newframe}[1][]{% #1: new frame rate
- \if@anim@draft\else%
- \if@anim@step\else%
- \if@anim@timeline\else%
- \edef\@anim@pfps{\@anim@nfps}%
- \edef\@anim@nfps{#1}%
- \ifx\@anim@nfps\@empty%
- \edef\@anim@nfps{\@anim@pfps}%
- \else%
- \ifnum\@anim@curframe@zb=0%
- \xdef\@anim@fps{#1}%
+ \ifnum\@anim@skipfram=0
+ \if@anim@draft\else%
+ \if@anim@step\else%
+ \if@anim@timeline\else%
+ \edef\@anim@pfps{\@anim@nfps}%
+ \edef\@anim@nfps{#1}%
+ \ifx\@anim@nfps\@empty%
+ \edef\@anim@nfps{\@anim@pfps}%
+ \else%
+ \ifnum\@anim@curframe@zb=0
+ \xdef\@anim@fps{#1}%
+ \fi%
+ %build JavaScript commands to fill the `nFpsAt' & `pFpsAt' arrays
+ \xdef\@anim@nfpsat{%
+ \@anim@nfpsat%
+ a\the\@anim@num.nFpsAt[\the\@anim@curframe@zb]=Math.abs(#1);%
+ }%
+ \xdef\@anim@pfpsat{%
+ \@anim@pfpsat%
+ a\the\@anim@num.pFpsAt[\the\@anim@curframe@zb]=%
+ Math.abs(\@anim@pfps);%
+ }%
+ \setboolean{@anim@chfps}{true}% change fps
\fi%
- %build JavaScript commands to fill the `nFpsAt' & `pFpsAt' arrays
- \xdef\@anim@nfpsat{%
- \@anim@nfpsat%
- a\the\@anim@num.nFpsAt[\the\@anim@curframe@zb]=Math.abs(#1);%
- }%
- \xdef\@anim@pfpsat{%
- \@anim@pfpsat%
- a\the\@anim@num.pFpsAt[\the\@anim@curframe@zb]=%
- Math.abs(\@anim@pfps);%
- }%
- \setboolean{@anim@chfps}{true}% change fps
\fi%
\fi%
\fi%
+ \global\advance\@anim@curframe@zb by \@ne%
\fi%
- \global\advance\@anim@curframe@zb by 1%
\@anim@beginframe%
\ignorespaces%
}
-\newcommand{\@anim@newframestar}[1][]{% starred variant for pauseing animation
- \if@anim@draft\else% #1: new frame rate
- \if@anim@step\else%
- \if@anim@timeline\else%
- %build JavaScript commands to fill the `pauseAt' array
- \xdef\@anim@pauseat{%
- \@anim@pauseat%
- a\the\@anim@num.pauseAt[\the\@anim@curframe@zb]=1;%
- }%
- \setboolean{@anim@pauseframes}{true}%
- \xdef\@anim@pfps{\@anim@nfps}%
- \xdef\@anim@nfps{#1}%
- \ifx\@anim@nfps\@empty%
- \xdef\@anim@nfps{\@anim@pfps}%
- \else%
- \ifnum\@anim@curframe@zb=0%
- \xdef\@anim@fps{#1}%
- \fi%
- %build JavaScript commands to fill the `nFpsAt' & `pFpsAt' arrays
- \xdef\@anim@nfpsat{%
- \@anim@nfpsat%
- a\the\@anim@num.nFpsAt[\the\@anim@curframe@zb]=Math.abs(#1);%
- }%
- \xdef\@anim@pfpsat{%
- \@anim@pfpsat%
- a\the\@anim@num.pFpsAt[\the\@anim@curframe@zb]=%
- Math.abs(\@anim@pfps);%
+\newcommand{\@anim@newframestar}[1][]{% starred variant for pausing animation
+ \ifnum\@anim@skipfram=0 % #1: new frame rate
+ \if@anim@draft\else%
+ \if@anim@step\else%
+ \if@anim@timeline\else%
+ %build JavaScript commands to fill the `pauseAt' array
+ \xdef\@anim@pauseat{%
+ \@anim@pauseat%
+ a\the\@anim@num.pauseAt[\the\@anim@curframe@zb]=1;%
}%
- \setboolean{@anim@chfps}{true}% change fps
+ \setboolean{@anim@pauseframes}{true}%
+ \xdef\@anim@pfps{\@anim@nfps}%
+ \xdef\@anim@nfps{#1}%
+ \ifx\@anim@nfps\@empty%
+ \xdef\@anim@nfps{\@anim@pfps}%
+ \else%
+ \ifnum\@anim@curframe@zb=0
+ \xdef\@anim@fps{#1}%
+ \fi%
+ %build JavaScript commands to fill the `nFpsAt' & `pFpsAt' arrays
+ \xdef\@anim@nfpsat{%
+ \@anim@nfpsat%
+ a\the\@anim@num.nFpsAt[\the\@anim@curframe@zb]=Math.abs(#1);%
+ }%
+ \xdef\@anim@pfpsat{%
+ \@anim@pfpsat%
+ a\the\@anim@num.pFpsAt[\the\@anim@curframe@zb]=%
+ Math.abs(\@anim@pfps);%
+ }%
+ \setboolean{@anim@chfps}{true}% change fps
+ \fi%
\fi%
\fi%
\fi%
+ \global\advance\@anim@curframe@zb by \@ne%
\fi%
- \global\advance\@anim@curframe@zb by 1%
\@anim@beginframe%
\ignorespaces%
}
@@ -1469,32 +1466,38 @@
\def\@anim@endframe#1#2{%
\the\@anim@end%
\end{lrbox}%
- \if@anim@draft\else\message{< a#1, fr#2}\fi%
- %determine size of graphics
- \ifnum #2=0%
- \xdef\@anim@animwidth{\strip@pt\wd\@anim@box}%
- \ifdim\wd\@anim@box=0pt%
- \PackageError{animate}{%
- Contents of first frame must not have zero width%
- }{%
- Possible reason: \protect\begin{animateinline}{...}
- immediately followed by \protect\newframe%
- }%
- \fi%
- \xdef\@anim@animheight{\strip@pt\ht\@anim@box}%
- \xdef\@anim@animdepth{\strip@pt\dp\@anim@box}%
- \ifdim\ht\@anim@box=0pt%
- \ifdim\dp\@anim@box=0pt%
+ \ifnum\@anim@skipfram=0
+ \if@anim@draft\else\message{< a#1, fr#2}\fi%
+ %determine size of graphics
+ \ifnum #2=0
+ \xdef\@anim@animwidth{\strip@pt\wd\@anim@box}%
+ \ifdim\wd\@anim@box=0pt%
\PackageError{animate}{%
- Contents of first frame must not have zero height%
- }{}%
+ Contents of first frame must not have zero width%
+ }{%
+ Possible reason: \protect\begin{animateinline}{...}
+ immediately followed by \protect\newframe%
+ }%
+ \fi%
+ \xdef\@anim@animheight{\strip@pt\ht\@anim@box}%
+ \xdef\@anim@animdepth{\strip@pt\dp\@anim@box}%
+ \ifdim\ht\@anim@box=0pt%
+ \ifdim\dp\@anim@box=0pt%
+ \PackageError{animate}{%
+ Contents of first frame must not have zero height%
+ }{}%
+ \fi%
\fi%
+ %draw draftbox according to dimensions of the first frame
+ \if@anim@draft\@anim@draftbox{\@anim@box}\fi%
\fi%
- %draw draftbox according to dimensions of the first frame
- \if@anim@draft\@anim@draftbox{\@anim@box}\fi%
+ %now create Form XObject of box contents
+ \if@anim@draft\else\@anim@xinline{#1}{#2}{\@anim@box}{!}\message{>}\fi%
+ \fi%
+ \global\advance\@anim@skipfram by \@ne%
+ \ifnum\@anim@skipfram=\@anim@every
+ \global\@anim@skipfram=0%
\fi%
- %now create Form XObject of box contents
- \if@anim@draft\else\@anim@xinline{#1}{#2}{\@anim@box}{!}\message{>}\fi%
}
%prints zero padded integers
@@ -1542,7 +1545,7 @@
\ifthenelse{\equal{\@anim@inputline}{}}{}{%
%initialise contents of each frame (to be filled with refs to XObjects
\@anim@newkey{@anim@content@\the\@anim@curframe@zb}{}% to be drawn)
- \global\advance\@anim@curframe@zb by 1%
+ \global\advance\@anim@curframe@zb by \@ne%
}%
\read\@anim@@tmlnfile to \@anim@inputline%
\edef\@anim@inputline{\@anim@inputline\space}%
@@ -1552,7 +1555,7 @@
}%
\closein\@anim@@tmlnfile%
\xdef\@anim@transp{\@anim@frames}% total number of transp
- \xdef\@anim@frames{\the\@anim@curframe@zb}% total number of anim positions
+ \xdef\@anim@frames{\the\@anim@curframe@zb}%total number of actual frames
\global\@anim@curframe@zb=0%
%reopen timeline file and build timeline
\openin\@anim@@tmlnfile=\@anim@tmlnfile%
@@ -1572,7 +1575,8 @@
/OC/oc\the\@anim@curframe@zb\space%
BDC\@anim@getkeyval{@anim@content@\the\@anim@curframe@zb} EMC%
}%
- \global\advance\@anim@curframe@zb by 1%
+ \@anim@newkey{@anim@content@\the\@anim@curframe@zb}{}%
+ \global\advance\@anim@curframe@zb by \@ne%
}%
\read\@anim@@tmlnfile to \@anim@inputline%
\edef\@anim@inputline{\@anim@inputline\space}%
@@ -1586,19 +1590,20 @@
%reads one line of timeline file and splits into its colon separated parts
\def\@anim@parseline#1:#2:#3;{%
\if@anim@step\else%
- \ifx #1*% first column is a star (pause frame)
+ \ifthenelse{\equal{#1}{*}}{%first column is a star (pause frame)
\xdef\@anim@pauseat{%
\@anim@pauseat%
a\the\@anim@num.pauseAt[\the\@anim@curframe@zb]=1;%
}%
\setboolean{@anim@pauseframes}{true}%
- \fi%
+ }{}%
\xdef\@anim@pfps{\@anim@nfps}%
\xdef\@anim@nfps{#2}%
- \ifx\@anim@nfps\@empty% second column contains a number (new frame rate)
+ %treat the second field (new frame rate)
+ \ifx\@anim@nfps\@empty% no change of frame rate
\xdef\@anim@nfps{\@anim@pfps}%
\else%
- \ifnum\@anim@curframe@zb=0%
+ \ifnum\@anim@curframe@zb=0
\xdef\@anim@fps{#2}%
\fi%
%build JavaScript commands to fill the `nFpsAt' & `pFpsAt' arrays
@@ -1620,12 +1625,8 @@
%parses 3rd column of timeline file (comma separated list of transp. specs)
\def\@anim@parsethird#1,#2;{%
\def\@anim@firstarg{#1}%
- \ifx\@anim@firstarg\@empty\else%
- \@anim@process#1x:;% process one transparency spec
- \fi%
- \ifx #2:\else%
- \@anim@parsethird#2;%
- \fi%
+ \ifthenelse{\equal{#1}{}}{}{\@anim@process#1x:;}%process one transparency spec
+ \ifthenelse{\equal{#2}{:}}{}{\@anim@parsethird#2;}%
}
\newcount\@anim@tmpcnt %scratch counter for different uses
@@ -1633,32 +1634,32 @@
%process transparency spec, such as 123 or 456x78 or 9x0
\def\@anim@process#1x#2;{%
%determine number of repetitions of current transparency
- \ifx #2:%
+ \ifthenelse{\equal{#2}{:}}{%
\gdef\@anim@repeats{1}%
- \else%
+ }{%
\@anim@processsecond#2;%
- \fi%
- \ifnum\@anim@repeats=0% 0= means: repeat until end of timeline
+ }%
+ \ifnum\@anim@repeats=0 %0= means: repeat until end of timeline
\edef\@anim@repeatuntil{\@anim@frames}%
\else%
\@anim@tmpcnt=\@anim@curframe@zb%
\advance\@anim@tmpcnt by \@anim@repeats%
- \ifnum\@anim@frames<\@anim@tmpcnt%
+ \ifnum\@anim@frames<\@anim@tmpcnt
\edef\@anim@repeatuntil{\@anim@frames}%
\else%
\edef\@anim@repeatuntil{\the\@anim@tmpcnt}%
\fi%
\fi%
%build contents of animation frames according to transparency specifications
- \ifnum\@anim@transp<#1\else% ignore non-existing transparencies
+ \ifnum\@anim@transp<#1\else%ignore non-existing transparencies
\ifnum\@anim@transp=#1\else%
\@anim@tmpcnt=\@anim@curframe@zb%
- \loop\ifnum\@anim@repeatuntil>\@anim@tmpcnt%
+ \loop\ifnum\@anim@repeatuntil>\@anim@tmpcnt
\@anim@newkey{@anim@content@\the\@anim@tmpcnt}{%
\@anim@getkeyval{@anim@content@\the\@anim@tmpcnt}
q /im#1\space Do Q%
}%
- \advance\@anim@tmpcnt by 1%
+ \advance\@anim@tmpcnt by \@ne%
\repeat%
\fi%
\fi%
@@ -1691,10 +1692,10 @@
}
\def\@anim@colours#1:#2;{% helper macro to get number of colour components and
\xdef\@anim@colour{\@anim@colour\space #1}% to replace : by ` ' in the arg
- \ifx #2!\else%
- \global\advance\@anim@tmpcnt by 1%
+ \ifthenelse{\equal{#2}{!}}{}{%
+ \global\advance\@anim@tmpcnt by \@ne%
\@anim@colours#2;%
- \fi%
+ }%
}
\ifpdf %background frame of buttons
\def\@anim@@@bg{%
@@ -1714,12 +1715,12 @@
}
\fi
\define@key{anim@user}{buttonbg}{%background colour of buttons
- \global\@anim@tmpcnt=1%
+ \global\@anim@tmpcnt=\@ne%
\gdef\@anim@colour{}%
\@anim@colours#1:!;%
\xdef\@anim@bgcolour{\@anim@colour}%
\ifpdf%
- \ifnum\@anim@tmpcnt=1
+ \ifnum\@anim@tmpcnt=\@ne
\xdef\@anim@bg{\@anim@colour\space g\space\@anim@@@bg}%
\else%
\ifnum\@anim@tmpcnt=3
@@ -1731,7 +1732,7 @@
\fi%
\fi%
\else%
- \ifnum\@anim@tmpcnt=1
+ \ifnum\@anim@tmpcnt=\@ne
\xdef\@anim@bg{\@anim@colour\space setgray\space\@anim@@@bg}%
\else%
\ifnum\@anim@tmpcnt=3
@@ -1745,12 +1746,12 @@
\fi%
}
\define@key{anim@user}{buttonfg}{%stroking colour of buttons
- \global\@anim@tmpcnt=1%
+ \global\@anim@tmpcnt=\@ne%
\gdef\@anim@colour{}%
\@anim@colours#1:!;%
\xdef\@anim@fgcolour{\@anim@colour}%
\ifpdf%
- \ifthenelse{\the\@anim@tmpcnt=1}{%
+ \ifthenelse{\the\@anim@tmpcnt=\@ne}{%
\xdef\@anim@fg{\@anim@colour\space G}%
\xdef\@anim@@@fg{\@anim@colour\space g}%
}{%
@@ -1765,7 +1766,7 @@
}%
}%
\else%
- \ifthenelse{\the\@anim@tmpcnt=1}{%
+ \ifthenelse{\the\@anim@tmpcnt=\@ne}{%
\xdef\@anim@fg{\@anim@colour\space setgray}%
}{%
\ifthenelse{\the\@anim@tmpcnt=3}{%
@@ -1857,6 +1858,9 @@
\define@key{anim@user}{end}{%
\@anim@end{#1}%
}
+\define@key{anim@user}{every}{% embed every #1 frames
+ \ifnum#1<\@ne\gdef\@anim@every{1}\else\gdef\@anim@every{#1}\fi%
+}
%macro to reset macros and booleans
\def\@anim@reset{%
@@ -1892,18 +1896,19 @@
\setboolean{@anim@timeline}{false}%
\@anim@begin={}%
\@anim@end={}%
+ \gdef\@anim@every{1}% frames to be included
}
%package options
\def\@anim@@bg{}
\def\@anim@@bgcolour{}
\define@key{anim@pkg}{buttonbg}{%background colour of buttons
- \global\@anim@tmpcnt=1%
+ \global\@anim@tmpcnt=\@ne%
\gdef\@anim@colour{}%
\@anim@colours#1:!;%
\xdef\@anim@@bgcolour{\@anim@colour}%
\ifpdf%
- \ifnum\@anim@tmpcnt=1
+ \ifnum\@anim@tmpcnt=\@ne
\xdef\@anim@@bg{\@anim@colour\space g\space\@anim@@@bg}%
\else%
\ifnum\@anim@tmpcnt=3
@@ -1915,7 +1920,7 @@
\fi%
\fi%
\else%
- \ifnum\@anim@tmpcnt=1
+ \ifnum\@anim@tmpcnt=\@ne
\xdef\@anim@@bg{\@anim@colour\space setgray\space\@anim@@@bg}%
\else%
\ifnum\@anim@tmpcnt=3
@@ -1931,12 +1936,12 @@
\ifpdf\def\@anim@@fg{0 G}\def\@anim@@@@fg{0 g}\else\def\@anim@@fg{0 setgray}\fi
\def\@anim@@fgcolour{}
\define@key{anim@pkg}{buttonfg}{%stroking colour of buttons
- \global\@anim@tmpcnt=1%
+ \global\@anim@tmpcnt=\@ne%
\gdef\@anim@colour{}%
\@anim@colours#1:!;%
\xdef\@anim@@fgcolour{\@anim@colour}%
\ifpdf%
- \ifthenelse{\the\@anim@tmpcnt=1}{%
+ \ifthenelse{\the\@anim@tmpcnt=\@ne}{%
\xdef\@anim@@fg{\@anim@colour\space G}%
\xdef\@anim@@@@fg{\@anim@colour\space g}%
}{%
@@ -1951,7 +1956,7 @@
}%
}%
\else%
- \ifthenelse{\the\@anim@tmpcnt=1}{%
+ \ifthenelse{\the\@anim@tmpcnt=\@ne}{%
\xdef\@anim@@fg{\@anim@colour\space setgray}%
}{%
\ifthenelse{\the\@anim@tmpcnt=3}{%
@@ -2116,13 +2121,12 @@
\fi%
%actions
a#1.actnEndLeft=function(){%
- var curIdx=a#1.idx;%
\if@anim@step\else
a#1.actnPause();%
a#1.isPaused=false;% because it has been explicitly stopped
\fi
+ a#1.fr[a#1.idx].state=false;%
a#1.idx=0;%
- a#1.fr[curIdx].state=false;%
a#1.fr[0].state=true;%
\if@anim@chfps
a#1.fpsDeflt=Math.abs(\@anim@fps);%
@@ -2131,13 +2135,12 @@
\fi%
};%
a#1.actnEndRight=function(){%
- var curIdx=a#1.idx;%
\if@anim@step\else
a#1.actnPause();%
a#1.isPaused=false;%
\fi
+ a#1.fr[a#1.idx].state=false;%
a#1.idx=\@anim@frames-1;%
- a#1.fr[curIdx].state=false;%
a#1.fr[a#1.idx].state=true;%
\if@anim@chfps %frame rate from the last fps change (\@anim@nfps)
a#1.fpsDeflt=Math.abs(\@anim@nfps);%
@@ -2146,20 +2149,23 @@
\fi%
};%
a#1.actnNext=function(){%
- var curIdx=a#1.idx;%
- \if@anim@palindrome
- if(a#1.idx==\@anim@frames-1){%
+ a#1.fr[a#1.idx].state=false;%
+ try{%
+ a#1.fr[++a#1.idx].state=true;%
+ }catch(e){%
+ --a#1.idx;%
+ \if@anim@palindrome%
\if@anim@step
+ a#1.actnEndRight();%
a#1.playsRight=false;%
\else
+ a#1.fr[a#1.idx].state=true;%
if(a#1.isPlaying){a#1.isPaused=true;a#1.actnPlayLeft();}%
\fi%
- }else{%
- a#1.idx++;%
- }%
- \else
- if(a#1.idx==\@anim@frames-1){%
- \if@anim@step\else%
+ \else%
+ \if@anim@step
+ a#1.actnEndRight();%
+ \else%
\if@anim@loop
if(a#1.isPlaying){%
\if@anim@chfps
@@ -2168,17 +2174,13 @@
a#1.dt=a#1.dtDeflt;%
\fi
a#1.actnPlayRight();%
- }%
+ }else{a#1.actnEndRight();}%
\else
a#1.actnEndRight();%
\fi%
\fi%
- }else{%
- a#1.idx++;%
- }%
- \fi
- a#1.fr[curIdx].state=false;%
- a#1.fr[a#1.idx].state=true;%
+ \fi%
+ }%
\if@anim@step\else%
\if@anim@chfps
if(%
@@ -2197,20 +2199,23 @@
\fi%
};%
a#1.actnPrev=function(){%
- var curIdx=a#1.idx;%
- \if@anim@palindrome
- if(a#1.idx==0){%
+ a#1.fr[a#1.idx].state=false;%
+ try{%
+ a#1.fr[--a#1.idx].state=true;%
+ }catch(e){%
+ ++a#1.idx;%
+ \if@anim@palindrome%
\if@anim@step
+ a#1.actnEndLeft();%
a#1.playsRight=true;%
\else
+ a#1.fr[a#1.idx].state=true;%
if(a#1.isPlaying){a#1.isPaused=true;a#1.actnPlayRight();}%
\fi%
- }else{%
- a#1.idx--;%
- }%
- \else
- if(a#1.idx==0){%
- \if@anim@step\else%
+ \else%
+ \if@anim@step
+ a#1.actnEndLeft();%
+ \else%
\if@anim@loop
if(a#1.isPlaying){%
\if@anim@chfps
@@ -2219,17 +2224,13 @@
a#1.dt=a#1.dtDeflt;%
\fi
a#1.actnPlayLeft();%
- }%
+ }else{a#1.actnEndLeft();}%
\else
a#1.actnEndLeft();%
\fi%
\fi%
- }else{%
- a#1.idx--;%
- }%
- \fi
- a#1.fr[curIdx].state=false;%
- a#1.fr[a#1.idx].state=true;%
+ \fi%
+ }%
\if@anim@step\else%
\if@anim@chfps
if(%