summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-24 00:10:55 +0000
committerKarl Berry <karl@freefriends.org>2011-08-24 00:10:55 +0000
commite0166386d95b2853abff6b4f8d87b2ec8ff7ba0b (patch)
treecfc82df8d7ff2596ab4976a36c6df01b7288d58d /Master/texmf-dist/tex/latex/animate
parentaffb17be9e5b6b56ddb689a42a9c83df881dd9b2 (diff)
animate (22aug11)
git-svn-id: svn://tug.org/texlive/trunk@23672 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty15
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 13367415fab..068a8ab85a9 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{2011/05/30}
+\def\@anim@version{2011/08/22}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -148,12 +148,13 @@
%\pdfmdfivesum is used for hashing object references of embedded files based
%on their MD5 digest (in order to avoid multiple inclusion); if it is not
%available, hashing will be based on the file name
-\expandafter\ifx\csname pdfmdfivesum\endcsname\relax
- \def\@anim@pdfmdfivesum file#1{#1}
+\ifcsname pdfmdfivesum\endcsname
+ \def\@anim@pdfmdfivesum#1{\pdfmdfivesum file {#1}}
\else
- \let\@anim@pdfmdfivesum\pdfmdfivesum
+ \def\@anim@pdfmdfivesum#1{#1}
\fi
+
%creating and using global definitions
\def\@anim@newkey#1#2{{\expandafter\xdef\csname#1\endcsname{#2}}}
\def\@anim@getkeyval#1{\ifcsname#1\endcsname\csname#1\endcsname\fi}
@@ -287,11 +288,11 @@
%of xobj, otherwise returns `!'
\def\@anim@fileknown#1#2{% #1 file name, pdf: #2 page No. ps: #2 @anim@num
%identify file by md5sum
- \ifcsname file:\@anim@pdfmdfivesum file{#1}.#2\endcsname%
- \@anim@getkeyval{file:\@anim@pdfmdfivesum file{#1}.#2}\else!\fi%
+ \ifcsname file:\@anim@pdfmdfivesum{#1}.#2\endcsname%
+ \@anim@getkeyval{file:\@anim@pdfmdfivesum{#1}.#2}\else!\fi%
}
\def\@anim@makefileknown#1#2#3{%#1 file name, pdf: #2 page No. ps: #2 @anim@num,
- \@anim@newkey{file:\@anim@pdfmdfivesum file{#1}.#2}{#3}% #3 Form XObj ID
+ \@anim@newkey{file:\@anim@pdfmdfivesum{#1}.#2}{#3}% #3 Form XObj ID
}
%helper macro that typesets graphics file into savebox