diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-20 23:15:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-20 23:15:53 +0000 |
commit | f8d407349e3e8a00d85d5ea1fbd26ad04ef56f66 (patch) | |
tree | f735d551e2c8a7d08f430992b49feee238260e50 /Master/texmf-dist/tex/latex/animate | |
parent | a7ec4e004490b8a4f99b824c26025399be210b1f (diff) |
animate update (20jan10)
git-svn-id: svn://tug.org/texlive/trunk@16792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate.sty | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty index f541b436e94..d4e97535325 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{2010/01/04} +\def\@anim@version{2010/01/20} \ProvidesPackage{animate} [\@anim@version\space PDF animations from files and inline graphics] @@ -79,8 +79,8 @@ \InputIfFileExists{supp-pdf}{}{% \PackageWarningNoLine{animate}{% Neither of the files `supp-pdf.mkii' and `supp-pdf.tex',% - \MessageBreak% - which are part of ConTeXt, could be found.% + \MessageBreak% + which are part of ConTeXt, could be found.% \MessageBreak% Therefore, MetaPost generated PS files cannot% \MessageBreak% @@ -189,10 +189,6 @@ }{}% } -\newboolean{@anim@powerdot} %to cope with some powerdot oddity -\setboolean{@anim@powerdot}{false} -\@ifclassloaded{powerdot}{\setboolean{@anim@powerdot}{true}}{}% - \newboolean{@anim@grxloaded} \setboolean{@anim@grxloaded}{false} \AtBeginDocument{% @@ -399,7 +395,8 @@ \global\setbox\@anim@box=\hbox{% \raisebox{-\dp#3}[\@anim@frameheight\p@][\@anim@framedepth\p@]{\box#3}% }% - \immediate\pdfxform\@anim@box% + \immediate\pdfxform\ifdefined\pgf@sys@pdf@possible@resources resources {% + \pgf@sys@pdf@possible@resources}\fi\@anim@box% \xdef\@anim@lastxform{\the\pdflastxform}% %keep a record of XObject number \@anim@newkey{img@#2}{\@anim@lastxform\space 0 R}% @@ -470,14 +467,11 @@ \endgroup% \special{ps: gsave - %translate graphics to lower left page corner - \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% + %translate graphics to upper left page corner + {% + frame@llx neg frame@ury neg translate + one@inch@x DVImag div neg one@inch@y DVImag div neg translate% + }?pdfmark %distill graphics into XObject mark /_objdef {@anim@frm@#1@#2} |