From 1c9110f6a6e59feff05d46837175993a607a90d6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 11 Nov 2014 23:00:12 +0000 Subject: animate (11nov14) git-svn-id: svn://tug.org/texlive/trunk@35561 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/animate/ChangeLog | 4 ++++ Master/texmf-dist/doc/latex/animate/animate.pdf | Bin 3728029 -> 3728261 bytes Master/texmf-dist/tex/latex/animate/animate.sty | 11 ++++++----- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/animate/ChangeLog b/Master/texmf-dist/doc/latex/animate/ChangeLog index d706b0c9663..57b76557b00 100644 --- a/Master/texmf-dist/doc/latex/animate/ChangeLog +++ b/Master/texmf-dist/doc/latex/animate/ChangeLog @@ -1,3 +1,7 @@ +2014-11-11 + * Fix: (work-around for) JavaScript NotAllowedError in AR-9 when skimming + over pages with icon-based animations + 2014-11-10 * Fix: poster / current frame did not get printed with `method=icon' diff --git a/Master/texmf-dist/doc/latex/animate/animate.pdf b/Master/texmf-dist/doc/latex/animate/animate.pdf index 0905fa3f4d8..5d808b4f97a 100644 Binary files a/Master/texmf-dist/doc/latex/animate/animate.pdf and b/Master/texmf-dist/doc/latex/animate/animate.pdf differ 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% }% -- cgit v1.2.3