summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/animate/ChangeLog3
-rw-r--r--Master/texmf-dist/doc/latex/animate/animate.pdfbin3899235 -> 3869206 bytes
-rw-r--r--Master/texmf-dist/source/latex/animate/animate.tex29
-rw-r--r--Master/texmf-dist/source/latex/animate/files/exp.mp4
-rw-r--r--Master/texmf-dist/source/latex/animate/files/scarab.mp4
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty49
6 files changed, 37 insertions, 52 deletions
diff --git a/Master/texmf-dist/doc/latex/animate/ChangeLog b/Master/texmf-dist/doc/latex/animate/ChangeLog
index de1293448a1..df96396f017 100644
--- a/Master/texmf-dist/doc/latex/animate/ChangeLog
+++ b/Master/texmf-dist/doc/latex/animate/ChangeLog
@@ -1,3 +1,6 @@
+2021-06-11
+ * fix: `undefined references' warning, when placing animation in a \phantom
+
2020-10-07
* fix: pausing on the 0th/last frames (PDF output)
diff --git a/Master/texmf-dist/doc/latex/animate/animate.pdf b/Master/texmf-dist/doc/latex/animate/animate.pdf
index a1a258477c7..1cb9d5a5575 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/source/latex/animate/animate.tex b/Master/texmf-dist/source/latex/animate/animate.tex
index 1cabe9c9fef..4721acff546 100644
--- a/Master/texmf-dist/source/latex/animate/animate.tex
+++ b/Master/texmf-dist/source/latex/animate/animate.tex
@@ -1,12 +1,18 @@
-\listfiles
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright 2007--\today Alexander Grahn
%
% This material is subject to the LaTeX Project Public License. See
% http://mirrors.ctan.org/macros/latex/base/lppl.txt
% for the details of that license.
%
-\ifdefined\outputmode\outputmode=0\fi
-\ifdefined\pdfoutput\pdfoutput=0\fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\listfiles
+
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{
+% uncompress
+}
+
\documentclass[a4paper]{article}
\frenchspacing
\usepackage[buttonbg=0.9]{animate}
@@ -18,7 +24,6 @@
\usepackage{graphicx}
\graphicspath{{files/}}
\addmediapath{files}
-\usepackage{color}
\usepackage{textcomp}
\usepackage{mflogo}
\usepackage[T1]{fontenc}
@@ -27,13 +32,11 @@
\usepackage[tt=false]{libertine} %override beramono (doesn't look like tt font)
\usepackage{libertinust1math}
\usepackage[protrusion]{microtype}
-%\usepackage{ifpdf}
\usepackage{parskip}
\usepackage{tabls}
\usepackage{multirow}
\usepackage[bookmarksnumbered,linktocpage]{hyperref}
\usepackage[ocgcolorlinks]{ocgx2}
-\usepackage{breakurl}
\usepackage{amsmath}
\usepackage{fancyvrb}
\usepackage{tabularx}
@@ -56,12 +59,6 @@
{\itshape\normalsize}}
\makeatother
-%\ifpdf
-% \makeatletter
-% \@latex@error{This document contains PSTricks code.\MessageBreak Please compile it using the following commands:\MessageBreak\MessageBreak latex, dvips, ps2pdf\MessageBreak\MessageBreak Don't use option `-Ppdf` with dvips}
-% \makeatother
-%\fi
-
\def\keywords{include portable PDF animation SVG animation animated PDF animated SVG dvisvgm html TeX4ht web animating embed animated graphics LaTeX pdfLaTeX LuaLaTeX PSTricks pgf TikZ LaTeX-picture MetaPost inline graphics vector graphics animated GIF LaTeX dvips ps2pdf dvipdfmx XeLaTeX JavaScript Acrobat Reader KDE Okular PDF-XChange Foxit Reader Firefox Chrome Chromium}
\hypersetup{
pdftitle={The animate Package},
@@ -1475,17 +1472,17 @@ In \TeX4ht documents, the whole \verb+<object>...</object>+ tag can be inserted
\section{Acknowledgements}
I would like to thank François Lafont who discovered quite a few bugs and made many suggestions that helped to improve the functionality of the package. Many thanks to Jin-Hwan Cho, the developer of \verb+dvipdfmx+, for contributing the \verb+dvipdfmx+ specific code, and to Walter Scott for proof-reading the documentation.
-\enlargethispage{4ex}
+%\enlargethispage{4ex}
\begin{thebibliography}{8}
-\bibitem{chupin} Chupin, M.: \emph{Syracuse MetaPost/Animations.} URL: \href{http://melusine.eu.org/syracuse/metapost/animations/chupin/?idsec=scara}{\url{http://melusine.eu.org/}} \href{http://melusine.eu.org/syracuse/metapost/animations/chupin/?idsec=scara}{\url{syracuse/metapost/animations/chupin/?idsec=scara}}
+\bibitem{chupin} Chupin, M.: \emph{Syracuse MetaPost/Animations.} URL: \href{http://melusine.eu.org/syracuse/metapost/animations/chupin/?idsec=scara}{\texttt{http://melusine.eu.org/}} \href{http://melusine.eu.org/syracuse/metapost/animations/chupin/?idsec=scara}{\texttt{syracuse/metapost/animations/chupin/?idsec=scara}}
\bibitem{dvisvgm} \emph{dvisvgm: A fast DVI to SVG converter} URL: \url{http://dvisvgm.de}
\bibitem{gilg05} Gilg, J.: PDF-Animationen. In: \emph{Die \TeX nische Kom\"odie}, Issue 4, 2005, pp.~30--37
-%\bibitem{hol} Holeček, J.: \emph{Animations in a pdf\TeX-generated PDF}. URL: \url{http://www.fi.muni.cz/~xholecek/tex/pdfanim.xhtml}
+%%\bibitem{hol} Holeček, J.: \emph{Animations in a pdf\TeX-generated PDF}. URL: \url{http://www.fi.muni.cz/~xholecek/tex/pdfanim.xhtml}
\bibitem{hol} Holeček, J.; Sojka, P.: Animations in pdf\TeX-generated PDF. In: \emph{\TeX, XML, and Digital Typography}, Springer, 2004, pp.~179--191. doi:10.1007/978-3-540-27773-6\textunderscore14
\bibitem{luque12} Luque, M.: \emph{PSTricks : applications.} URL: \url{http://pstricks.blogspot.com}
\bibitem{media4svg} \emph{The media4svg Package}. URL: \url{http://www.ctan.org/pkg/media4svg}
\bibitem{media9} \emph{The media9 Package}. URL: \url{http://www.ctan.org/pkg/media9}
-\bibitem{texsx} \emph{Beamer: animate package and overlay}. URL: \href{https://tex.stackexchange.com/a/385209}{\url{https://tex.stackexchange.com}}\\ \href{https://tex.stackexchange.com/a/385209}{\url{/a/385209}}
+\bibitem{texsx} \emph{Beamer: animate package and overlay}. URL: \href{https://tex.stackexchange.com/a/385209}{\texttt{https://tex.stackexchange.com}}\\\href{https://tex.stackexchange.com/a/385209}{\texttt{/a/385209}}
\end{thebibliography}
\end{document}
diff --git a/Master/texmf-dist/source/latex/animate/files/exp.mp b/Master/texmf-dist/source/latex/animate/files/exp.mp
index 85c5c429692..3bd6a031484 100644
--- a/Master/texmf-dist/source/latex/animate/files/exp.mp
+++ b/Master/texmf-dist/source/latex/animate/files/exp.mp
@@ -1,5 +1,5 @@
% Jan Holecek, Alexander Grahn
-% 2018/11/29
+% 2021/04/08
prologues:=3;
outputtemplate := "%j_%c.mps";
@@ -7,8 +7,6 @@ outputformat := "mps";
verbatimtex
\documentclass{article}
-\usepackage[latin1]{inputenc}
-\usepackage[T1]{fontenc}
%\usepackage{lmodern}
\usepackage[tt=false]{libertine}
\usepackage[libertine]{newtxmath}
diff --git a/Master/texmf-dist/source/latex/animate/files/scarab.mp b/Master/texmf-dist/source/latex/animate/files/scarab.mp
index 7e04c256d28..ff4b9ebc6a1 100644
--- a/Master/texmf-dist/source/latex/animate/files/scarab.mp
+++ b/Master/texmf-dist/source/latex/animate/files/scarab.mp
@@ -1,5 +1,5 @@
% Maxime Chupin, Alexander Grahn
-% 2018/11/29
+% 2021/04/08
prologues:=3;
outputtemplate := "%j_%c.mps";
@@ -7,8 +7,6 @@ outputformat := "mps";
verbatimtex
\documentclass{article}
-\usepackage[latin1]{inputenc}
-\usepackage[T1]{fontenc}
%\usepackage{lmodern}
\usepackage[tt=false]{libertine}
\usepackage[libertine]{newtxmath}
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index caa4574eecb..a492a7677d7 100644
--- a/Master/texmf-dist/tex/latex/animate/animate.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate.sty
@@ -11,9 +11,9 @@
% Supports LaTeX->dvips->ps2pdf, (Xe)LaTeX->(x)dvipdfmx, LuaLaTeX,
% pdfLaTeX and LaTeX->dvisvgm workflows.
-\NeedsTeXFormat{LaTeX2e}
+\NeedsTeXFormat{LaTeX2e}[2020-10-01]
-\def\@anim@version{2020/10/07}
+\def\@anim@version{2021/06/11}
\ProvidesPackage{animate}
[\@anim@version\space PDF & SVG animations from files and inline graphics]
@@ -187,6 +187,9 @@
}
\let\@anim@fpeval\fp_eval:n
+
+%hashing object references of embedded files to avoid multiple inclusion
+\let\@anim@pdfmdfivesum\file_mdfive_hash:n
\ExplSyntaxOff
\if@anim@dvisvgm
@@ -235,24 +238,6 @@
\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
-\ifluatex
- \RequirePackage{pdftexcmds}
- \let\@anim@pdfmdfivesum\pdf@filemdfivesum
-\else
- \ifcsname pdfmdfivesum\endcsname
- \def\@anim@pdfmdfivesum#1{\pdfmdfivesum file {#1}}
- \else
- \ifcsname mdfivesum\endcsname
- \def\@anim@pdfmdfivesum#1{\mdfivesum file {#1}}
- \else
- \def\@anim@pdfmdfivesum#1{#1}
- \fi
- \fi
-\fi
-
%creating and using global definitions
\def\@anim@newkey#1#2{{\expandafter\xdef\csname#1\endcsname{#2}}}
\def\@anim@getkeyval#1{\ifcsname#1\endcsname\csname#1\endcsname\fi}
@@ -1554,9 +1539,11 @@
\fi%
\begingroup%
%store current abs. page num in macro \@anim@abspage
- \zref@labelbyprops{anim@abspage\the\@anim@num}{abspage}%
- \zref@def@extractdefault{\@anim@abspage}{%
- anim@abspage\the\@anim@num}{abspage}{-1}%
+ \if@anim@dvisvgm\if@anim@draft\else%
+ \zref@labelbyprops{anim@abspage\the\@anim@num}{abspage}%
+ \zref@def@extractdefault{\@anim@abspage}{%
+ anim@abspage\the\@anim@num}{abspage}{-1}%
+ \fi\fi%
\@anim@beginLTR%
\ifcsname Ginput@path\endcsname% make use of graphic[xs] search path
\let\input@path\Ginput@path%
@@ -2078,9 +2065,11 @@
\fi%
\begingroup%
%store current abs. page num in macro \@anim@abspage
- \zref@labelbyprops{anim@abspage\the\@anim@num}{abspage}%
- \zref@def@extractdefault{\@anim@abspage}{%
- anim@abspage\the\@anim@num}{abspage}{-1}%
+ \if@anim@dvisvgm\if@anim@draft\else%
+ \zref@labelbyprops{anim@abspage\the\@anim@num}{abspage}%
+ \zref@def@extractdefault{\@anim@abspage}{%
+ anim@abspage\the\@anim@num}{abspage}{-1}%
+ \fi\fi%
\@anim@beginLTR%
\ifdefined\NoHyper\NoHyper\fi% silently suppress any hyperref specials
\ifcsname Ginput@path\endcsname% make use of graphic[xs] search path
@@ -4240,20 +4229,20 @@
if(a#1_idx==\@anim@maxframe)a#1_playsRight=false;$%
if(a#1_playsRight){a#1_playRight();}else{a#1_playLeft();}%
\else
- var a#1_doplay=true;$%
+ var doplay=true;$%
if(a#1_idx==\@anim@maxframe&&a#1_playsRight){%
a#1_stopFirst();%
\if@anim@pauseframes
- if(a#1_pauseAt[a#1_idx]){a#1_pause();a#1_doplay=false;}%
+ if(a#1_pauseAt[a#1_idx]){a#1_pause();doplay=false;}%
\fi%
}$%
if(a#1_idx==0&&!a#1_playsRight){%
a#1_stopLast();%
\if@anim@pauseframes
- if(a#1_pauseAt[a#1_idx]){a#1_pause();a#1_doplay=false;}%
+ if(a#1_pauseAt[a#1_idx]){a#1_pause();doplay=false;}%
\fi%
}$%
- if(a#1_doplay){%
+ if(doplay){%
if(a#1_playsRight){a#1_playRight();}else{a#1_playLeft();}%
}$%
\fi