summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate/animate.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate/animate.sty')
-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