From 8b3d80e99d743a36b0b3cc84105087914c01bb02 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 Sep 2020 21:25:10 +0000 Subject: animate (29sep20) git-svn-id: svn://tug.org/texlive/trunk@56477 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/animate/ChangeLog | 3 +++ Master/texmf-dist/doc/latex/animate/animate.pdf | Bin 3883925 -> 3900656 bytes Master/texmf-dist/tex/latex/animate/animate.sty | 23 +++++++---------------- 3 files changed, 10 insertions(+), 16 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/animate/ChangeLog b/Master/texmf-dist/doc/latex/animate/ChangeLog index 2c474b2b605..fcbc863bd1c 100644 --- a/Master/texmf-dist/doc/latex/animate/ChangeLog +++ b/Master/texmf-dist/doc/latex/animate/ChangeLog @@ -1,3 +1,6 @@ +2020-09-29 + * fix: pausing at the 0th frame + 2020-08-29 * new: \multiframebreak for terminating \multiframe loop diff --git a/Master/texmf-dist/doc/latex/animate/animate.pdf b/Master/texmf-dist/doc/latex/animate/animate.pdf index 6e7de8842dd..ef8589938e5 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 dd4fe8959c1..ee1f166b735 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{2020/08/29} +\def\@anim@version{2020/09/29} \ProvidesPackage{animate} [\@anim@version\space PDF & SVG animations from files and inline graphics] @@ -3842,14 +3842,15 @@ a#1_on=f;$% \fi% \if@anim@step\else% - \if@anim@chfps - if(a#1_nFpsAt[f]!=a#1_fps){% - a#1_setFps(a#1_nFpsAt[f]);% - }$% - \fi% \if@anim@meas a#1_frcnt++;$% \fi% + \if@anim@pauseframes + if(a#1_playing&&a#1_pauseAt[f]){a#1_pause();}$% + \fi% + \if@anim@chfps + if(a#1_nFpsAt[f]!=a#1_fps){a#1_setFps(a#1_nFpsAt[f]);}$% + \fi% \fi% return 0;$% };$% @@ -3900,11 +3901,6 @@ \fi return;$% }$% - \if@anim@step\else% - \if@anim@pauseframes - if(a#1_playing&&a#1_pauseAt[a#1_idx]){a#1_pause();}$% - \fi% - \fi% };$% a#1_gotoPrev=function(){$% if(a#1_seekFrame(a#1_idx-1)<0){$% @@ -3936,11 +3932,6 @@ \fi return;$% }$% - \if@anim@step\else% - \if@anim@pauseframes - if(a#1_playing&&a#1_pauseAt[a#1_idx]){a#1_pause();}$% - \fi% - \fi% };$% \if@anim@step\else a#1_pause=function(stop){$% -- cgit v1.2.3