diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/animate/ChangeLog | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/animate/animate.pdf | bin | 3900656 -> 3884915 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate.sty | 23 |
3 files changed, 21 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/animate/ChangeLog b/Master/texmf-dist/doc/latex/animate/ChangeLog index fcbc863bd1c..de768f4ae6b 100644 --- a/Master/texmf-dist/doc/latex/animate/ChangeLog +++ b/Master/texmf-dist/doc/latex/animate/ChangeLog @@ -1,5 +1,8 @@ +2020-10-05 + * fix: pausing on the 0th/last frames (continued) + 2020-09-29 - * fix: pausing at the 0th frame + * fix: pausing on 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 Binary files differindex ef8589938e5..e85c20f423e 100644 --- a/Master/texmf-dist/doc/latex/animate/animate.pdf +++ b/Master/texmf-dist/doc/latex/animate/animate.pdf diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty index ee1f166b735..d5003db446b 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/09/29} +\def\@anim@version{2020/10/05} \ProvidesPackage{animate} [\@anim@version\space PDF & SVG animations from files and inline graphics] @@ -4058,11 +4058,17 @@ a#1_isPaused=true;% }};$% a#1_playBwd=function(){% - if(a#1_idx==0||!a#1_isPaused){a#1_stopLast();}% + if(a#1_idx==0){% + a#1_stopLast();% + \if@anim@pauseframes if(a#1_pauseAt[a#1_idx]){a#1_pause();return;}\fi% + }% a#1_playLeft();% };$% a#1_playFwd=function(){% - if(a#1_idx==\@anim@maxframe||!a#1_isPaused){a#1_stopFirst();}% + if(a#1_idx==\@anim@maxframe){% + a#1_stopFirst();% + \if@anim@pauseframes if(a#1_pauseAt[a#1_idx]){a#1_pause();return;}\fi% + }% a#1_playRight();% };$% \fi% @@ -4230,14 +4236,19 @@ \fi a#1_isPaused=true;$% \else - if(!a#1_isPaused)a#1_stopFirst();$% if(event.\@anim@shift)a#1_playsRight=!a#1_playsRight;$% \if@anim@palindrome if(a#1_idx==0)a#1_playsRight=true;$% if(a#1_idx==\@anim@maxframe)a#1_playsRight=false;$% \else - if(a#1_idx==\@anim@maxframe&&a#1_playsRight)a#1_stopFirst();$% - if(a#1_idx==0&&!a#1_playsRight)a#1_stopLast();$% + if(a#1_idx==\@anim@maxframe&&a#1_playsRight){% + a#1_stopFirst();% + \if@anim@pauseframes if(a#1_pauseAt[a#1_idx]){a#1_pause();return;}\fi% + }$% + if(a#1_idx==0&&!a#1_playsRight){% + a#1_stopLast();% + \if@anim@pauseframes if(a#1_pauseAt[a#1_idx]){a#1_pause();return;}\fi% + }$% \fi if(a#1_playsRight){% a#1_playRight();% |