summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate/animate.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate/animate.sty')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 762959a85c2..6d67ab9816b 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/11/10}
+\def\@anim@version{2014/11/11}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -876,7 +876,7 @@
}%
\or% widget based
%initial visibility
- \def\@anim@annotflag{/F 2}%
+ \def\@anim@annotflag{/F 6}% default: hidden (2) + print (4)
\ifx\@anim@poster\@anim@posternone\else%
\ifnum#2=\z@%
\ifx\@anim@poster\@anim@posterfirst%
@@ -1635,6 +1635,7 @@
\@anim@otherjscript{#1}%
\def\@anim@annotflag{}%
\ifnum\@anim@method=\z@%
+ \def\@anim@annotflag{/F 4}% 4=allow printing
\ifx\@anim@poster\@anim@posternone%
\ifdefined\@anim@apdummy\else% empty appearance dummy
\setbox\@anim@box=\hbox{\phantom{x}}%
@@ -1643,7 +1644,6 @@
\fi%
\def\@anim@apmk{\@anim@refobj{\@anim@apdummy}}%
\else%
- \def\@anim@annotflag{/F 4}%
\def\@anim@apmk{\@anim@refobj{\@anim@posterap}}%
\fi%
\else%
@@ -3287,9 +3287,10 @@
\fi%
\fi%
\ifx\@anim@poster\@anim@posterlast
- a#1.stopLast();%
+ %using app.setTimeOut as a workaround for NotAllowedError in AR-9
+ var ret=app.setTimeOut('a#1.stopLast()',1);%
\else
- a#1.stopFirst();%
+ var ret=app.setTimeOut('a#1.stopFirst()',1);%
\fi%
\if@anim@step\else%
}%