summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-11-02 22:02:47 +0000
committerKarl Berry <karl@freefriends.org>2015-11-02 22:02:47 +0000
commit3d1e2f14c75cc14813d4790093ebf0a785cc9d3b (patch)
treec1ecc22a61873583b74f428575a578af70d41479 /Master/texmf-dist/tex
parentf7847a2be5222bb1e43b55c00cba5353c54f01d0 (diff)
animate (2nov15)
git-svn-id: svn://tug.org/texlive/trunk@38763 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty43
1 files changed, 4 insertions, 39 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index fbb7c1a9b31..5ef33bbde6a 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}
-\def\@anim@version{2015/10/28}
+\def\@anim@version{2015/11/02}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -30,7 +30,6 @@
\RequirePackage{keyval}
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
-\RequirePackage{atbegshi}
\RequirePackage{ifluatex}
\RequirePackage{ifdraft}
\RequirePackage{calc}
@@ -459,29 +458,8 @@
\xdef\@anim@fields{\@anim@fields\the\pdflastannot\space 0 R\space}%
}
- %marked content BDC/EMC operators
- \newcount\@anim@ocnum
- \def\@anim@bdc#1#2{% #1: tag, #2 prop. dict obj ID
- \pdfliteral direct {#1/a@oc\the\@anim@ocnum\space BDC}%
- \ifx\@empty\@anim@ocmap\@empty%
- \xdef\@anim@ocmap{/a@oc\the\@anim@ocnum\space#2}%
- \else%
- \xdef\@anim@ocmap{\@anim@ocmap\space/a@oc\the\@anim@ocnum\space#2}%
- \fi%
- \begingroup%
- \edef\x{\endgroup% /Properties dict must be added manually to page resources
- \global\pdfpageresources{\the\pdfpageresources%
- /Properties<<\@anim@ocmap>>%
- }%
- }\x%
- \global\advance\@anim@ocnum by \@ne%
- }
- \ifdefined\@anim@ocmap\else
- \gdef\@anim@ocmap{}
- \AtBeginShipout{\gdef\@anim@ocmap{}}
- \fi
- \def\@anim@emc{\pdfliteral direct {EMC}}%
\else
+
\newcount\@anim@objnum
\if@anim@dvipdfmx
\def\@anim@dictobj#1{%
@@ -537,16 +515,6 @@
\global\advance\@anim@objnum by \@ne%
}
- %marked content BDC/EMC operators
- \newcount\@anim@ocnum
- \def\@anim@bdc#1#2{% #1: tag, #2 prop. dict obj ID
- \special{pdf:code #1/a@oc\the\@anim@ocnum\space BDC}%
- %Properties must be added manually
- \special{pdf:put @resources
- <</Properties <</a@oc\the\@anim@ocnum\space#2>>>>}%
- \global\advance\@anim@ocnum by \@ne%
- }
- \def\@anim@emc{\special{pdf:code EMC}}%
\else % dvips
\def\@anim@dictobj#1{%
\special{ps:
@@ -698,9 +666,6 @@
\xdef\@anim@fields{\@anim@fields{@anm@obj\the\@anim@objnum}\space}%
\global\advance\@anim@objnum by \@ne%
}
-
- \def\@anim@bdc#1#2{\special{ps: mark #1 #2 /BDC pdfmark}}%
- \def\@anim@emc{\special{ps: mark /EMC pdfmark}}%
\fi
\fi
@@ -857,9 +822,9 @@
\fi%
%frame insertion
\@anim@xform{0}{0}{\@anim@box}%
- \@anim@bdc{/OC}{\@anim@curocg}%
+ \ocgbase@oc@bdc{\@anim@curocg}%
\@anim@refxform{\@anim@lastxform}%
- \@anim@emc%
+ \ocgbase@oc@emc%
\fi%
}