diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate/animate.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate.sty | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty index bac45621678..02fdf8df399 100644 --- a/Master/texmf-dist/tex/latex/animate/animate.sty +++ b/Master/texmf-dist/tex/latex/animate/animate.sty @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e} -\def\@anim@version{2008/08/28} +\def\@anim@version{2008/10/06} \ProvidesPackage{animate} [\@anim@version\space PDF animations from files and inline graphics] @@ -439,12 +439,13 @@ \special{ps: gsave %translate graphics to lower left page corner - {% - frame@llx neg frame@lly neg translate - one@inch@x DVImag div neg one@inch@y DVImag div neg translate - 0 paper@height DVImag div \if@anim@powerdot DVImag div\space\fi - translate - }?pdfmark + \if@anim@powerdot\else% + {% + frame@llx neg frame@lly neg translate + one@inch@x DVImag div neg one@inch@y DVImag div neg translate + 0 paper@height DVImag div translate + }?pdfmark + \fi% %distill graphics into XObject mark /_objdef {@anim@frm@#1@#2} @@ -1558,6 +1559,7 @@ \vskip 0.1\@anim@tmpdima% \hbox to \@anim@animwidth\p@ {% \hss% + \def\@anim@tooltip{}% \@anim@buttonwidget{#1}{EndLeft}{EndLeft:#2}% \@anim@buttonwidget{#1}{StepLeft}{StepLeft:#2}% \if@anim@step\else% @@ -1568,8 +1570,11 @@ \@anim@buttonwidget{#1}{EndRight}{EndRight:#2}% \if@anim@step\else% \hskip 0.3\@anim@tmpdima% + \def\@anim@tooltip{/TU (slower)}% \@anim@buttonwidget{#1}{Minus}{Minus:#2}% + \def\@anim@tooltip{/TU (default speed)}% \@anim@buttonwidget{#1}{Reset}{Reset:#2}% + \def\@anim@tooltip{/TU (faster)}% \@anim@buttonwidget{#1}{Plus}{Plus:#2}% \fi% \hss% @@ -1633,13 +1638,13 @@ \or% 5 \ifdim\height=\z@\else% resize height only if original height .ne. zero \setlength{\@anim@tmpdima}{% - \totalheight*\ratio{\@anim@animwidth\p@}{\width}-\@anim@animdepth\p@}% + \totalheight*\ratio{\@anim@animwidth\p@}{\width}-\@anim@animdepth\p@}% \xdef\@anim@animheight{\strip@pt\@anim@tmpdima}% \fi% \or% 6 \ifdim\depth=\z@\else% resize depth only if original depth .ne. zero \setlength{\@anim@tmpdima}{% - \totalheight*\ratio{\@anim@animwidth\p@}{\width}-\@anim@animheight\p@}% + \totalheight*\ratio{\@anim@animwidth\p@}{\width}-\@anim@animheight\p@}% \xdef\@anim@animdepth{\strip@pt\@anim@tmpdima}% \fi% \fi% @@ -1802,6 +1807,7 @@ /H/I% /AP <</N \@anim@getkeyval{btn#3}>>% /T (btn@#1@#2)% + \@anim@tooltip% /A <</S/JavaScript/JS (\@anim@upjscriptstring)>>% }% \xdef\@anim@fields{\@anim@fields\space\the\pdflastannot\space 0 R}% @@ -1824,6 +1830,7 @@ /H/I% /AP <</N @btn#3>>% /T (btn@#1@#2)% + \@anim@tooltip% /A <</S/JavaScript/JS (\@anim@upjscriptstring)>>% >>% }% @@ -1862,6 +1869,7 @@ /H/I /AP <</N {btn#3}>>% /T (btn@#1@#2)% + \@anim@tooltip% /A <</S/JavaScript/JS (\@anim@upjscriptstring)>>% /ANN pdfmark mark {@anim@fields} {annot@\the\@anim@fieldnum} /APPEND pdfmark |