summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-11-11 23:00:12 +0000
committerKarl Berry <karl@freefriends.org>2014-11-11 23:00:12 +0000
commit1c9110f6a6e59feff05d46837175993a607a90d6 (patch)
tree464a7fb254f4aa64bb529fe4ac20ca703538d988 /Master/texmf-dist/tex/latex/animate
parentea251f494f09dfb400c5cd8995a7ea1736f3f042 (diff)
animate (11nov14)
git-svn-id: svn://tug.org/texlive/trunk@35561 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-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%
}%