diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-29 00:30:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-29 00:30:33 +0000 |
commit | 3d9a319aa3208d7a4277f3dd31851bf878f57c41 (patch) | |
tree | ae5e3b3986f0c20c63161df9f34f2eebfa71f4ad /Master/texmf-dist/tex/latex | |
parent | 0afa5eec043fdd80ad0f70d4754373597eac43da (diff) |
animate update (28sep10)
git-svn-id: svn://tug.org/texlive/trunk@19937 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate.sty | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty index fd58e228b00..75619a8be0c 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{2010/09/16} +\def\@anim@version{2010/09/28} \ProvidesPackage{animate} [\@anim@version\space PDF animations from files and inline graphics] @@ -1473,6 +1473,11 @@ \fi% \fi% \@anim@reset% to default settings + \begingroup% make use of graphic[xs] search path + \ifcsname Ginput@path\endcsname% + \let\input@path\Ginput@path% + \fi% + % \setkeys{anim@user}{#1}% \ifthenelse{\boolean{@anim@autoplay}\OR\boolean{@anim@autoresume}}{% \setboolean{@anim@autoplayorresume}{true}% @@ -1487,11 +1492,6 @@ \def\@anim@first{#4}% \def\@anim@last{#5}% % - \begingroup% make use of graphic[xs] search path - \ifcsname Ginput@path\endcsname% - \let\input@path\Ginput@path% - \fi% - % \@anim@checkmultipage{\@anim@base}%test for multipage file \if@anim@multipage\else% cope with wrong user input \ifthenelse{\equal{#4}{}\OR\equal{#5}{}}{% @@ -1937,6 +1937,10 @@ \leavevmode% \setboolean{@anim@inside}{true}% \@anim@reset% to default settings + \begingroup% make use of graphic[xs] search path + \ifcsname Ginput@path\endcsname% + \let\input@path\Ginput@path% + \fi% \setkeys{anim@user}{#1}% \ifthenelse{\boolean{@anim@autoplay}\OR\boolean{@anim@autoresume}}{% \setboolean{@anim@autoplayorresume}{true}% @@ -1987,6 +1991,7 @@ \@anim@insertwidgets{\the\@anim@num}{% \@anim@getkeyval{btncol:\@anim@bgcolour:\@anim@fgcolour}}% \fi% + \endgroup% \global\advance\@anim@num by \@ne% \catcode`\:=\@anim@colon\catcode`\;=\@anim@semicolon% \catcode`\*=\@anim@star\catcode`\,=\@anim@comma% @@ -2351,7 +2356,7 @@ \edef\@anim@inputline{\expandafter\zap@space\@anim@inputline\@empty}% \ifeof\@anim@@tmlnfile\setboolean{@anim@eof}{true}\else% \setboolean{@anim@eof}{false}\fi% - \message{<building timeline a#1:}% + \message{<building timeline a#1 from file `\@anim@tmlnfile':}% \whiledo{\NOT\boolean{@anim@eof}}{% \global\advance\@anim@lineno by \@ne% \ifthenelse{\equal{\@anim@inputline}{}}{}{% @@ -2771,7 +2776,8 @@ } \define@key{anim@user}{timeline}{% \IfFileExists{#1}{% - \gdef\@anim@tmlnfile{#1}% + \edef\@filef@und{\@filef@und\space}% + \xdef\@anim@tmlnfile{\expandafter\zap@space\@filef@und\@empty}% \setboolean{@anim@timeline}{true}% }{% \PackageError{animate}{timeline file `#1' cannot be opened for reading% |