texlive[64401] Master/texmf-dist: animate (15sep22)
commits+karl at tug.org
commits+karl at tug.org
Thu Sep 15 21:54:28 CEST 2022
Revision: 64401
http://tug.org/svn/texlive?view=revision&revision=64401
Author: karl
Date: 2022-09-15 21:54:28 +0200 (Thu, 15 Sep 2022)
Log Message:
-----------
animate (15sep22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/animate/ChangeLog
trunk/Master/texmf-dist/doc/latex/animate/animate.pdf
trunk/Master/texmf-dist/tex/latex/animate/animate.sty
Modified: trunk/Master/texmf-dist/doc/latex/animate/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/animate/ChangeLog 2022-09-15 19:54:15 UTC (rev 64400)
+++ trunk/Master/texmf-dist/doc/latex/animate/ChangeLog 2022-09-15 19:54:28 UTC (rev 64401)
@@ -1,3 +1,9 @@
+2022-09-15
+ * fix: failure (in dvisvgm driver mode) when setting `draft'
+ globally and then setting `final' locally
+ * improvement: accelerating compilation in `draft' mode for long
+ \multiframe loops
+
2022-08-04
* fix: a few obsolete code lines removed; option processing acc. to new
LaTeX format 22-06-01
Modified: trunk/Master/texmf-dist/doc/latex/animate/animate.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/animate/animate.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/animate/animate.sty 2022-09-15 19:54:15 UTC (rev 64400)
+++ trunk/Master/texmf-dist/tex/latex/animate/animate.sty 2022-09-15 19:54:28 UTC (rev 64401)
@@ -13,7 +13,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
-\def\@anim at version{2022/08/04}
+\def\@anim at version{2022/09/15}
\ProvidesPackage{animate}
[\@anim at version\space PDF & SVG animations from files and inline graphics]
@@ -1575,6 +1575,11 @@
}%
\fi%
\begingroup%
+ \@anim at beginLTR%
+ \ifcsname Ginput at path\endcsname% make use of graphic[xs] search path
+ \let\input at path\Ginput at path%
+ \fi%
+ \SetKeys[anim at user]{#1}%
%store current abs. page num in macro \@anim at abspage
\if at anim@dvisvgm\if at anim@draft\else%
\zref at labelbyprops{anim at abspage\the\@anim at num}{abspage}%
@@ -1581,11 +1586,6 @@
\zref at def@extractdefault{\@anim at abspage}{%
anim at abspage\the\@anim at num}{abspage}{-1}%
\fi\fi%
- \@anim at beginLTR%
- \ifcsname Ginput at path\endcsname% make use of graphic[xs] search path
- \let\input at path\Ginput at path%
- \fi%
- \SetKeys[anim at user]{#1}%
\ifx\empty\@anim at bg\empty\xdef\@anim at alpha{}\fi%
\xdef\@anim at btnsize{\the\dimexpr\@anim at btnsize\relax}%
%correct wrong option combination; totalheight overrides height
@@ -2105,6 +2105,12 @@
}%
\fi%
\begingroup%
+ \@anim at beginLTR%
+ \ifdefined\NoHyper\NoHyper\fi% silently suppress any hyperref specials
+ \ifcsname Ginput at path\endcsname% make use of graphic[xs] search path
+ \let\input at path\Ginput at path%
+ \fi%
+ \SetKeys[anim at user]{#1}%
%store current abs. page num in macro \@anim at abspage
\if at anim@dvisvgm\if at anim@draft\else%
\zref at labelbyprops{anim at abspage\the\@anim at num}{abspage}%
@@ -2111,12 +2117,6 @@
\zref at def@extractdefault{\@anim at abspage}{%
anim at abspage\the\@anim at num}{abspage}{-1}%
\fi\fi%
- \@anim at beginLTR%
- \ifdefined\NoHyper\NoHyper\fi% silently suppress any hyperref specials
- \ifcsname Ginput at path\endcsname% make use of graphic[xs] search path
- \let\input at path\Ginput at path%
- \fi%
- \SetKeys[anim at user]{#1}%
\ifx\empty\@anim at bg\empty\xdef\@anim at alpha{}\fi%
\xdef\@anim at btnsize{\the\dimexpr\@anim at btnsize\relax}%
%correct wrong option combination; totalheight overrides height
@@ -2389,7 +2389,11 @@
\@anim at updatevars% update variables
\fi%
\global\advance\@anim at mulframecnt by \@ne%
- \def\multiframebreak{\global\@anim at mulframecnt=#1}%
+ \if at anim@draft%
+ \global\@anim at mulframecnt=#1%
+ \else%
+ \def\multiframebreak{\global\@anim at mulframecnt=#1}%
+ \fi%
\ignorespaces%
#3% execute loop body
\unskip%
More information about the tex-live-commits
mailing list.