summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-08 17:16:12 +0000
committerKarl Berry <karl@freefriends.org>2012-12-08 17:16:12 +0000
commitd70e4e2f7daa386b9f77c0ff1d5a61b0c2c4b7f3 (patch)
treee86a9b491779a29bcd9cd91f70392bce4874179d /Master/texmf-dist/tex/latex/animate
parent5890c57826c2128580cec1fc13315e5ef36ad39d (diff)
animate (5dec12)
git-svn-id: svn://tug.org/texlive/trunk@28471 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 024dd18de85..08d59698785 100644
--- a/Master/texmf-dist/tex/latex/animate/animate.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate.sty
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}
-\def\@anim@version{2012/10/26}
+\def\@anim@version{2012/12/06}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -1558,9 +1558,11 @@
}{}%
\fi%
\def\@anim@relop{>}%
+ \edef\@anim@numtemplate{\@anim@first}%
\ifnum\@anim@first>\@anim@last%
\edef\@anim@every{-\@anim@every}%
\def\@anim@relop{<}%
+ \edef\@anim@numtemplate{\@anim@last}%
\fi%
\global\@anim@curframe=\@anim@first%
\global\@anim@curframe@zb=\z@%
@@ -1606,7 +1608,7 @@
\else%
%get path to current file end its extension
\@anim@getpath{%
- \@anim@base\@anim@pad{\@anim@first}{\the\@anim@curframe}%
+ \@anim@base\@anim@pad{\@anim@numtemplate}{\the\@anim@curframe}%
}%
%embed graphics
\@anim@ximage{\the\@anim@num}{\the\@anim@curframe@zb}{%