summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-28 23:45:26 +0000
committerKarl Berry <karl@freefriends.org>2018-02-28 23:45:26 +0000
commitff16d3dc994ccd174f196f7d5cde42e8ba5338ff (patch)
treee97cbf13b867c7219991761fa44f481d21d394ab /Master/texmf-dist/tex/latex/animate
parent940e03ca0b55d204785182f33537a0c75fffbb0e (diff)
animate (28feb18)
git-svn-id: svn://tug.org/texlive/trunk@46765 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty30
1 files changed, 3 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index b7cd08e3660..a012d93e9ac 100644
--- a/Master/texmf-dist/tex/latex/animate/animate.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate.sty
@@ -13,24 +13,15 @@
\NeedsTeXFormat{LaTeX2e}
-\def\@anim@version{2018/01/04}
+\def\@anim@version{2018/02/28}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
-%test for e-TeX
-\expandafter\ifx\csname eTeXversion\endcsname\relax
- \PackageError{animate}{%
- Missing support for e-TeX; aborting...%
- }{%
- Use a TeX compiler that supports e-TeX and enable e-TeX %
- in the format.%
- }
-\fi
-
\RequirePackage{xkeyval}
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
\RequirePackage{ifluatex}
+\RequirePackage{ifxetex}
\RequirePackage{ifdraft}
\RequirePackage{calc}
\RequirePackage{graphics}%\scalebox, \resizebox, \rotatebox
@@ -60,7 +51,7 @@
\fi
\newboolean{@anim@xetex}
\setboolean{@anim@xetex}{false}
-\expandafter\ifx\csname XeTeXrevision\endcsname\relax\else
+\ifxetex
\setboolean{@anim@xetex}{true}
\setboolean{@anim@dvipdfmx}{true}
\setboolean{@anim@dvips}{false}
@@ -136,21 +127,6 @@
\begingroup%
\@anim@document%
}
- %define `?pdfmark' operator as in file hdvips.def from package `hyperref'
- \AtBeginDvi{%
- \expandafter\ifx\csname pdfmark\endcsname\relax%
- \special{!
- systemdict /pdfmark known%
- {%
- userdict /?pdfmark systemdict /exec get put%
- }{%
- userdict /?pdfmark systemdict /pop get put
- userdict /pdfmark systemdict /cleartomark get put%
- }%
- ifelse%
- }%
- \fi%
- }
\fi
\fi