diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-21 20:55:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-21 20:55:11 +0000 |
commit | 9a6ac304ab7c75c72e616fc3b57c8fdc5b817cb8 (patch) | |
tree | 6c8c2fd8859b93076039f5bb5b2634196aaabf53 /Master/texmf-dist/tex | |
parent | 49d8f3eb32afd6c19a23994edaa781b468dfe4fe (diff) |
animate (21feb22)
git-svn-id: svn://tug.org/texlive/trunk@62123 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate.sty | 20 |
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; |