summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/animate/animate.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/animate/animate.sty')
-rw-r--r--macros/latex/contrib/animate/animate.sty7
1 files changed, 3 insertions, 4 deletions
diff --git a/macros/latex/contrib/animate/animate.sty b/macros/latex/contrib/animate/animate.sty
index c43aa7ef75..47c4d19d6f 100644
--- a/macros/latex/contrib/animate/animate.sty
+++ b/macros/latex/contrib/animate/animate.sty
@@ -13,7 +13,7 @@
\NeedsTeXFormat{LaTeX2e}
-\def\@anim@version{2019/11/27}
+\def\@anim@version{2019/12/03}
\ProvidesPackage{animate}
[\@anim@version\space PDF & SVG animations from files and inline graphics]
@@ -84,8 +84,7 @@
% store result into macro given as #3
\ifpdf %pdflatex/lualatex
\def\@anim@getpagecount#1#2#3{%
- \edef\@anim@tempfilename{\noexpand\unquote@name{#1.#2}}%
- \pdfximage page 1 {\@anim@tempfilename}\xdef#3{\the\pdflastximagepages}%
+ \pdfximage page 1 {#1.#2}\xdef#3{\the\pdflastximagepages}%
}
\else
\if@anim@xetex
@@ -1374,7 +1373,7 @@
\fi
%determines file type of the sequence
-\def\zap@finalspace#1 \@nil{#1}
+\def\zap@finalspace#1 \@nil{\unquote@name{#1}}
\ifpdf
\def\@anim@getpath#1#2{% #2: empty | user provided file extension
\ifx\@empty#2\@empty%