summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-20 20:45:21 +0000
committerKarl Berry <karl@freefriends.org>2019-08-20 20:45:21 +0000
commit48e85c00710da4680b6c776eae249d4d3236ea6a (patch)
tree81a75e3022dfea2d9640e63931fd788c0b17ee43 /Master/texmf-dist/tex/latex/animate
parentbb7f51d3878611aaf85b982bc2a525e355019a07 (diff)
animate (20aug19)
git-svn-id: svn://tug.org/texlive/trunk@51917 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty19
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 75941569556..8fa51fbe198 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{2019/07/22}
+\def\@anim@version{2019/08/20}
\ProvidesPackage{animate}
[\@anim@version\space PDF & SVG animations from files and inline graphics]
@@ -4209,14 +4209,15 @@
if(!a#1_isPaused)a#1_playsRight=true;$%
\fi
%re-display poster frame
- if(!a#1_isPaused){% i.e. if stopped
- %poster=none
- \ifnum\@anim@poster=\@anim@mtwo a#1_seekFrame(-2);\fi%
- %poster=<num>|first
- \ifnum\@anim@poster>\@anim@mone a#1_seekFrame(\@anim@poster);\fi%
- %poster=last
- \ifnum\@anim@poster=\@anim@mone a#1_seekFrame(\@anim@maxframe);\fi%
- }$%
+ \ifnum\@anim@poster=\@anim@mtwo %poster=none
+ if(!a#1_isPaused&&a#1_idx!=-2)a#1_seekFrame(-2);$% not paused == stopped
+ \fi%
+ \ifnum\@anim@poster>\@anim@mone %poster=<num>|first
+ if(!a#1_isPaused&&a#1_idx!=\@anim@poster)a#1_seekFrame(\@anim@poster);$%
+ \fi%
+ \ifnum\@anim@poster=\@anim@mone %poster=last
+ if(!a#1_isPaused&&a#1_idx!=\@anim@maxframe)a#1_seekFrame(\@anim@maxframe);$%
+ \fi%
}
%animation PDF widget's PageClose and PageInvisible code as PDF stream object