summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate/animate.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate/animate.sty')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index c18e4f3657b..6964db89a13 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}[2020-10-01]
-\def\@anim@version{2022/02/04}
+\def\@anim@version{2022/02/21}
\ProvidesPackage{animate}
[\@anim@version\space PDF & SVG animations from files and inline graphics]
@@ -460,7 +460,7 @@
\def\@anim@zaptrailingcommafromxref#1,\@nil{\if@anim@dvips{#1}\else#1\fi}%
% inserts one animation frame into the output acc. to \ifcase\@anim@method
-% as a non-interactive Widget annotation (0 or 1) or an an xform (2) that is
+% as a non-interactive Widget annotation (0 or 1) or as an xform (2) that is
% referenced in the page content (and tagged as OCG or for multipage PDF export)
% args: #1 animation num, #2 frame number, #3 comma-separated list of xform
% refs (transparencies)
@@ -2209,17 +2209,17 @@
% clip animation to final dimensions (dvisvgm)
\def\@anim@beginsvgclip#1{%
\special{dvisvgm:raw
- <g transform="translate({?x},{?(y-\@anim@getkeyval{a#1.htbp})})">%
- <svg overflow="hidden"
- width="\@anim@getkeyval{a#1.wdbp}" height="\@anim@getkeyval{a#1.thtbp}"
- viewBox="%
- {?x} {?(y-\@anim@getkeyval{a#1.htbp})}
- \@anim@getkeyval{a#1.wdbp} \@anim@getkeyval{a#1.thtbp}%
- ">%
+ <svg overflow="hidden"
+ x="{?x}" y="{?(y-\@anim@getkeyval{a#1.htbp})}"
+ width="\@anim@getkeyval{a#1.wdbp}" height="\@anim@getkeyval{a#1.thtbp}"
+ viewBox="%
+ {?x} {?(y-\@anim@getkeyval{a#1.htbp})}
+ \@anim@getkeyval{a#1.wdbp} \@anim@getkeyval{a#1.thtbp}%
+ ">%
}%
}%
\def\@anim@endsvgclip{%
- \special{dvisvgm:raw </svg></g>}%
+ \special{dvisvgm:raw </svg>}%
}
%usercommand for use within `animateinline' environment;