summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-26 02:19:56 +0000
committerKarl Berry <karl@freefriends.org>2016-01-26 02:19:56 +0000
commitdc310659677c1c33b68a9372905487fa36c83ea2 (patch)
treeff6aea676db93b217f412911616172769b170f0f /Master/texmf-dist/tex/latex/animate
parent8972bff6d15687b9cb08b537cac46c1783db34c6 (diff)
animate
git-svn-id: svn://tug.org/texlive/trunk@39481 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, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 6f823f8eaab..01e997a25c4 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{2016/01/19}
+\def\@anim@version{2016/01/25}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -784,10 +784,13 @@
\ifnum#2=\@anim@poster%
\def\@anim@annotflag{/F 4}% not hidden + print (4)
\else%
- \ifnum\@anim@poster=\@anim@mone% use last frame as poster
- \ifthenelse{\equal{\@anim@getkeyval{a#1.poster}}{#2}}{%
+ \ifnum\@anim@poster=\@anim@mone\relax% use last frame as poster
+ \ifthenelse{%
+ \NOT\equal{\@anim@getkeyval{a#1.poster}}{}\AND%
+ #2=\@anim@getkeyval{a#1.poster}%
+ }{%
\def\@anim@annotflag{/F 4}%
- }{}%
+ }{}%
\fi%
\fi%
\fi%