From 9a6ac304ab7c75c72e616fc3b57c8fdc5b817cb8 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 21 Feb 2022 20:55:11 +0000
Subject: animate (21feb22)

git-svn-id: svn://tug.org/texlive/trunk@62123 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/animate/animate.sty | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/animate/animate.sty')

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;
-- 
cgit v1.2.3

