summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/animate
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-08-05 03:01:37 +0000
committerNorbert Preining <norbert@preining.info>2020-08-05 03:01:37 +0000
commit7731c3718462625785ef5c34fd2a38d6ea4f60a7 (patch)
treeb091cd4fd3920872342fec00159a08d6af6d9034 /macros/latex/contrib/animate
parent1e7bf0547010a2b8bbda5fb22cf3bc6bcf8f11a2 (diff)
CTAN sync 202008050301
Diffstat (limited to 'macros/latex/contrib/animate')
-rw-r--r--macros/latex/contrib/animate/ChangeLog3
-rw-r--r--macros/latex/contrib/animate/animate.pdfbin3887825 -> 3898615 bytes
-rw-r--r--macros/latex/contrib/animate/animate.sty33
-rw-r--r--macros/latex/contrib/animate/animate.tex1
4 files changed, 12 insertions, 25 deletions
diff --git a/macros/latex/contrib/animate/ChangeLog b/macros/latex/contrib/animate/ChangeLog
index 10ca7c56f0..6638dbfa3f 100644
--- a/macros/latex/contrib/animate/ChangeLog
+++ b/macros/latex/contrib/animate/ChangeLog
@@ -1,3 +1,6 @@
+2020-08-04
+ * fix: typesetting failure with `latex-dev'
+
2020-05-29
* fix: `autoplay' option non-functional in combination with `poster=last';
missing mention of KDE Okular in the list of supported PDF viewers
diff --git a/macros/latex/contrib/animate/animate.pdf b/macros/latex/contrib/animate/animate.pdf
index 9fcccf84fa..de2203afcf 100644
--- a/macros/latex/contrib/animate/animate.pdf
+++ b/macros/latex/contrib/animate/animate.pdf
Binary files differ
diff --git a/macros/latex/contrib/animate/animate.sty b/macros/latex/contrib/animate/animate.sty
index 64d1291144..ae65243dba 100644
--- a/macros/latex/contrib/animate/animate.sty
+++ b/macros/latex/contrib/animate/animate.sty
@@ -13,7 +13,7 @@
\NeedsTeXFormat{LaTeX2e}
-\def\@anim@version{2020/05/29}
+\def\@anim@version{2020/08/04}
\ProvidesPackage{animate}
[\@anim@version\space PDF & SVG animations from files and inline graphics]
@@ -235,22 +235,6 @@
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpdf\else
- \if@anim@dvipdfmx\else
- \if@anim@dvisvgm\else % dvips
- %if geometry package is loaded, execute `\geometry{dvips}' right before
- % `\begin{document}'; not sure whether still needed at all
- \let\@anim@document\document
- \def\document{%
- \endgroup%
- \@ifpackageloaded{geometry}{\geometry{dvips}}{}%
- \begingroup%
- \@anim@document%
- }
- \fi
- \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
@@ -2013,7 +1997,10 @@
% insert widget
\if@anim@js%
\@anim@annot{\@anim@btnsize}{\@anim@btnsize}{\z@}{%
- cursor='pointer' onmousedown='\@anim@btnJS{#1}{\@anim@arg}'%
+ cursor='pointer' onmousedown='%
+ event.preventDefault();event.stopPropagation();%
+ \@anim@btnJS{#1}{\@anim@arg}%
+ '%
}%
\@anim@updatebbox{\@anim@btnsize}{\@anim@btnsize}{0pt}%
\hbox to \@anim@btnsize {%
@@ -2056,7 +2043,6 @@
/T (#1.#2)%
\@anim@tooltip%
\if@anim@js%
- %/A <</S/JavaScript/JS (\@anim@btnJS{#1}{\@anim@arg})>>%
/AA <</D <</S/JavaScript/JS (\@anim@btnJS{#1}{\@anim@arg})>>>>%
\fi%
}%
@@ -4355,8 +4341,7 @@
\@anim@wdgtUpJS{#1}%
}$%
function onTouchEndWdgt(event){$%
- event.preventDefault();$%
- event.stopPropagation();$%
+ event.preventDefault();event.stopPropagation();$%
\if@anim@step\else
if(a#1_playing){try{a#1_pause();}catch(e){}}else{$%
\fi%
@@ -4366,13 +4351,11 @@
\fi%
}$%
function onMouseDownWdgt(event){$%
- event.preventDefault();$%
- event.stopPropagation();$%
+ event.preventDefault();event.stopPropagation();$%
\@anim@wdgtDownJS{#1}%
}$%
function onMouseUpWdgt(event){$%
- event.preventDefault();$%
- event.stopPropagation();$%
+ event.preventDefault();event.stopPropagation();$%
onWidgetUpAction(event);$%
}$%
\fi%
diff --git a/macros/latex/contrib/animate/animate.tex b/macros/latex/contrib/animate/animate.tex
index 82979a475d..14316a68dd 100644
--- a/macros/latex/contrib/animate/animate.tex
+++ b/macros/latex/contrib/animate/animate.tex
@@ -1,3 +1,4 @@
+\listfiles
% Copyright 2007--\today Alexander Grahn
%
% This material is subject to the LaTeX Project Public License. See