summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-03 22:29:29 +0000
committerKarl Berry <karl@freefriends.org>2014-07-03 22:29:29 +0000
commitf9722929bf727fa242b4e91478d110f39a6fd281 (patch)
tree4358f59697d443ea17cfbe915f80b721c02013c2
parentaa632c8ff92da971dc548135fdf74eaea74c99c4 (diff)
animate (3jul14)
git-svn-id: svn://tug.org/texlive/trunk@34506 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/animate/ChangeLog3
-rw-r--r--Master/texmf-dist/doc/latex/animate/animate.pdfbin3685845 -> 3684867 bytes
-rw-r--r--Master/texmf-dist/doc/latex/animate/animate.tex14
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty52
4 files changed, 36 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/latex/animate/ChangeLog b/Master/texmf-dist/doc/latex/animate/ChangeLog
index d4cfb32ab59..e9f71692fdf 100644
--- a/Master/texmf-dist/doc/latex/animate/ChangeLog
+++ b/Master/texmf-dist/doc/latex/animate/ChangeLog
@@ -1,3 +1,6 @@
+2014-07-02
+ * Fix: compilation error when used in `tabular' environment
+
2014-06-20
* Fix: compilation failures in connection with (automatic) hyperref
insertions in the animated material
diff --git a/Master/texmf-dist/doc/latex/animate/animate.pdf b/Master/texmf-dist/doc/latex/animate/animate.pdf
index 6627474491c..ac3fadc2912 100644
--- a/Master/texmf-dist/doc/latex/animate/animate.pdf
+++ b/Master/texmf-dist/doc/latex/animate/animate.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/animate/animate.tex b/Master/texmf-dist/doc/latex/animate/animate.tex
index 6a1a314ecb2..3f1e902f64a 100644
--- a/Master/texmf-dist/doc/latex/animate/animate.tex
+++ b/Master/texmf-dist/doc/latex/animate/animate.tex
@@ -10,7 +10,6 @@
\usepackage{pst-3dplot}
\usepackage{pst-node,pst-plot,pst-tools,pst-text,pst-ode}
\usepackage{media9}
-%\usepackage{../animate-20140603}
\usepackage{animate}
\usepackage{intcalc}
\usepackage{graphicx}
@@ -114,6 +113,7 @@ The final PDF can be viewed in current Adobe Readers on all supported platforms
\item $\varepsilon$-\TeX
\item pdf\TeX{}, version $\ge1.20$ or Lua\TeX{} for direct PDF output
\item Ghostscript, version $\ge8.31$ or Adobe Distiller for PS to PDF conversion
+% \item Ghostscript, version $\ge9.15$ or Adobe Distiller for PS to PDF conversion
\item dvipdfmx, version $\ge20080607$ for DVI to PDF conversion
\item Adobe Reader, version $\ge7$ or PDF-XChange Viewer
\end{trivlist}
@@ -155,7 +155,7 @@ Except for `\verb+dvipdfmx+' and `\verb+xetex+', the options above are also avai
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. \begin{animateinline}[autoplay,loop]{1}\strut\emph{Important:}\newframe[3]\end{animateinline} 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+-D 1200+' \emph{after} `\verb+-Ppdf+' on the command line. Users of \LaTeX-aware text editors with menu-driven toolchain invocation, such as \TeX{}nicCenter, should check the configuration of the \verb+dvips+ call.
-Sometimes, if the same animation sequence made from graphics files is to be embedded multiple times into the document, more compact PDF output may be obtained by passing option `\verb+-dMaxInlineImageSize=0+' to \verb+ps2pdf+.
+%Sometimes, if the same animation sequence made from graphics files is to be embedded multiple times into the document, more compact PDF output may be obtained by passing option `\verb+-dMaxInlineImageSize=0+' to \verb+ps2pdf+.
\XeLaTeX{} and \verb+dvipdfmx+ require the `graphicx' package to be loaded. While \XeLaTeX{} will be auto-detected (package option `\verb+xetex+' is optional), `animate' and `graphicx' need the package option `\verb+dvipdfmx+' in the case of \verb+dvipdfmx+.
@@ -1108,7 +1108,7 @@ dt dt Tm nT mul { % pop
\makeatother
\end{VerbatimOut}
\begin{VerbatimOut}{metro.txt}
-::0x0, 1: annotRM['click'].callAS('play');
+::0x0,1 : annotRM['click'].callAS('play');
::2
::3
::4
@@ -1133,7 +1133,7 @@ dt dt Tm nT mul { % pop
::23
::24
::25
-::26: annotRM['click'].callAS('play');
+::26 : annotRM['click'].callAS('play');
\end{VerbatimOut}
%loading metronome macros from external file
\input{files/pstmetronome}
@@ -1173,7 +1173,7 @@ dt dt Tm nT mul { % pop
%writing timeline to external file
\begin{filecontents}{metro.txt}
-::0x0, 1: annotRM['click'].callAS('play');
+::0x0,1 : annotRM['click'].callAS('play');
::2
::3
::4
@@ -1198,7 +1198,7 @@ dt dt Tm nT mul { % pop
::23
::24
::25
-::26: annotRM['click'].callAS('play');
+::26 : annotRM['click'].callAS('play');
\end{filecontents}
\begin{document}
@@ -1248,7 +1248,7 @@ dt dt Tm nT mul { % pop
\item The \verb+dvips+ option `\verb+-Ppdf+' should be avoided entirely or followed by something like `\verb+-D 1200+' on the command line in order to set a sensible DVI resolution. This does \emph{not} degrade the output quality! The configuration file `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.
+% \item Animations do not work if the PDF has been produced with Ghostscript versions older than 9.15.
\item If the \LaTeX{} $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+/Distiller route is being taken, make sure that the original graphics size (i.\,e. not scaled by any of the `{\tt scale}', `{\tt width}', `{\tt height}' or `{\tt depth}' options) does not exceed the page size of the final document. During PS to PDF conversion every graphic of the animation is temporarily moved to the upper left page corner. Those parts of the graphics that do not fit onto the document page will be clipped in the resulting PDF. Fortunately, graphics files for building animations may be resized easily to fit into a given bounding box by means of the `{\tt epsffit}' command line tool:
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index b3688d86318..8930ac048f1 100644
--- a/Master/texmf-dist/tex/latex/animate/animate.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate.sty
@@ -13,7 +13,7 @@
\NeedsTeXFormat{LaTeX2e}
-\def\@anim@version{2014/06/20}
+\def\@anim@version{2014/07/02}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -258,7 +258,7 @@
/OCGs \@anim@@ocgs\space 0 R%
/D <<%
/BaseState/ON /OFF \@anim@@offocgs\space 0 R%
- /AS [%
+ /AS [%
<</Event/View /Category[/View] /OCGs \@anim@@ocgs\space 0 R>>%
<</Event/Print /Category[/Print] /OCGs \@anim@@ocgs\space 0 R>>%
<</Event/Export/Category[/Export]/OCGs \@anim@@ocgs\space 0 R>>%
@@ -302,12 +302,12 @@
/OCGs @anim@ocgs
/D <<
/BaseState/ON /OFF @anim@offocgs%
- /AS[%
+ /AS[%
<</Event/View /Category[/View] /OCGs @anim@ocgs>>%
<</Event/Print /Category[/Print] /OCGs @anim@ocgs>>%
<</Event/Export/Category[/Export]/OCGs @anim@ocgs>>%
]%
- >>%
+ >>%
>>%
>>}%
\fi%
@@ -346,7 +346,7 @@
/OCGs {@anim@ocgs}%
/D <<%
/BaseState/ON /OFF {@anim@offocgs}%
- /AS[%
+ /AS[%
<</Event/View /Category[/View] /OCGs {@anim@ocgs}>>%
<</Event/Print /Category[/Print] /OCGs {@anim@ocgs}>>%
<</Event/Export/Category[/Export]/OCGs {@anim@ocgs}>>%
@@ -707,7 +707,7 @@
\else%
/AP <</N \@anim@getkeyval{img@#2}>>%
/MK <</TP 1/I \@anim@getkeyval{img@#2}/IF<</S/A/FB true>>>>%
- \fi%
+ \fi%
/T (#1.#2)%
}%
\xdef\@anim@fields{\@anim@fields\the\pdflastannot\space 0 R\space}%
@@ -776,7 +776,7 @@
\else%
/AP <</N \@anim@getkeyval{img@#2}>>%
/MK <</TP 1/I \@anim@getkeyval{img@#2}/IF<</S/A/FB true>>>>%
- \fi%
+ \fi%
/T (#1.#2)%
>>%
}%
@@ -862,7 +862,7 @@
\else%
/AP <</N \@anim@getkeyval{img@#2}>>%
/MK <</TP 1/I \@anim@getkeyval{img@#2}/IF<</S/A/FB true>>>>%
- \fi%
+ \fi%
/T (#1.#2)%
/ANN pdfmark%
}%
@@ -2416,34 +2416,34 @@
\endgroup
\def\@anim@@sanitize#1#2\@nil{%
- \expandafter\edef\csname @anim@\number`#1\endcsname{\the\catcode`#1}%
- \catcode`#1=12%
+ \expandafter\xdef\csname @anim@\number`#1\endcsname{\the\catcode`#1}%
+ \global\catcode`#1=12%
\ifx\@empty#2\@empty%
\else%
\@anim@@sanitize#2\@nil%
\fi%
- \catcode`\#=12%
- \let\@anim@newline=\\\let\\=\@anim@bksl%
- \let\@anim@leftbrace=\{\let\{=\@anim@lbr%
- \let\@anim@rightbrace=\}\let\}=\@anim@rbr%
- \let\@anim@percent=\%\let\%=\@anim@per%
+ \global\catcode`\#=12%
+ \global\let\@anim@newline=\\\global\let\\=\@anim@bksl%
+ \global\let\@anim@leftbrace=\{\global\let\{=\@anim@lbr%
+ \global\let\@anim@rightbrace=\}\global\let\}=\@anim@rbr%
+ \global\let\@anim@percent=\%\global\let\%=\@anim@per%
}
\def\@anim@@endsanitize#1#2\@nil{%
- \catcode`#1=\csname @anim@\number`#1\endcsname%
+ \global\catcode`#1=\csname @anim@\number`#1\endcsname%
\ifx\@empty#2\@empty%
\else%
\@anim@@endsanitize#2\@nil%
\fi%
- \let\%=\@anim@percent%
- \let\}=\@anim@rightbrace%
- \let\{=\@anim@leftbrace%
- \let\\=\@anim@newline%
- \catcode`\#=6%
-}
-\def\@anim@sanitize{%
- \@anim@@sanitize.:;?!/"'*+,->=<$&@][)(^_`|~\@nil}%
-\def\@anim@endsanitize{%
- \@anim@@endsanitize.:;?!/"'*+,->=<$&@][)(^_`|~\@nil}%
+ \global\let\%=\@anim@percent%
+ \global\let\}=\@anim@rightbrace%
+ \global\let\{=\@anim@leftbrace%
+ \global\let\\=\@anim@newline%
+ \global\catcode`\#=6%
+}
+\def\@anim@sanitize{{%
+ \@anim@@sanitize.:;?!/"'*+,->=<$&@][)(^_`|~\@nil}}%
+\def\@anim@endsanitize{{%
+ \@anim@@endsanitize.:;?!/"'*+,->=<$&@][)(^_`|~\@nil}}%
%building timeline from timeline file
\newread\@anim@@tmlnfile