summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-21 22:29:03 +0000
committerKarl Berry <karl@freefriends.org>2007-09-21 22:29:03 +0000
commitc5c5c60739865ca9075df66d33c5a4cdf183d6d0 (patch)
tree4d923b65387350b3cfe0181f6659f0a1b9ee184b /Master/texmf-dist/tex
parent55e469a40abbd1a4407556cfab0a3ef12a18ede8 (diff)
movie15 update (21sep07)
git-svn-id: svn://tug.org/texlive/trunk@4993 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/movie15/movie15.sty81
1 files changed, 39 insertions, 42 deletions
diff --git a/Master/texmf-dist/tex/latex/movie15/movie15.sty b/Master/texmf-dist/tex/latex/movie15/movie15.sty
index ed756eec65d..e189257adf1 100644
--- a/Master/texmf-dist/tex/latex/movie15/movie15.sty
+++ b/Master/texmf-dist/tex/latex/movie15/movie15.sty
@@ -9,7 +9,7 @@
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{movie15}[2007/05/07]
+\ProvidesPackage{movie15}[2007/09/21]
\RequirePackage{keyval}
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
@@ -45,14 +45,19 @@
\ProcessOptions*\relax
-%testing for correct TeX version, pdfmdfivesum file is needed for both,
-%pdf _and_ dvi output
+%testing for correct TeX version,
+\ifpdf
+ \ifnum\pdftexversion<120
+ \PackageError{movie15}{%
+ pdfeTeX, version >= 1.20, required
+ }{%
+ Install a more recent version!
+ }%
+ \fi
+\fi
+
\ifx\@undefined\pdfmdfivesum
- \PackageError{movie15}{%
- pdfeTeX, version >= 1.30, required
- }{%
- Install a more recent version!
- }%
+ \def\pdfmdfivesum file #1{#1}
\fi
\ifpdf %allows pdftex to directly import Metapost generated Postscript
@@ -1052,7 +1057,7 @@
/H /N%
/Border [0 0 0]%
\fi%
- /A <</URI (#5) /S/URI>>%
+ /Action <</URI (#5) /S/URI>>%
/Contents (3D Object (\@MXV@mime))%
}%
}%
@@ -1073,7 +1078,7 @@
/H /N%
/Border [0 0 0]%
\fi%
- /A <<%
+ /Action <<%
/F (#5)%
/S /Launch%
>>%
@@ -1496,7 +1501,7 @@
/H /N%
/Border [0 0 0]%
\fi%
- /A <</URI (#4) /S/URI>>%
+ /Action <</URI (#4) /S/URI>>%
/Contents (Media File (\@MXV@mime))%
}%
}%
@@ -1517,7 +1522,7 @@
/H /N%
/Border [0 0 0]%
\fi%
- /A <<%
+ /Action <<%
/F (#4)%
/S /Launch%
>>%
@@ -2229,6 +2234,7 @@
%script for normal activation by mouse click
\xdef\@MXV@activationjsentry{%
/JS (
+ app.focusRect=true;%
if(focusonplayer==undefined){%
var focusonplayer=0; %shared by all annots
}
@@ -3221,41 +3227,32 @@
Raw={%
\@MXV@pdfborder%
/_objdef {linkannot\the\@MXV@links}%
- }%
- }%
- %
- %entire action entry moved outside
- \pdfmark{%
- pdfmark=/PUT,%
- Raw={%
- {linkannot\the\@MXV@links} <<%
- /A <<%
- /S/GoTo%
- /D/@MXV@\@MXV@@label%
- \if@MXV@@draft\else%
- \if@MXV@externalviewer\else%
- \if@MXV@iiid%
- \ifx\@MXV@iiidview\@empty\else%
- /Next <<%
- /S/GoTo3DView%
- /TA {3Dannot\@MXV@getlabelvalue{@MXV@\@MXV@@label.annot}}%
- /V \@MXV@iiidview%
- \fi%
- \@MXV@jscriptiiidaction%
- \ifx\@MXV@iiidview\@empty\else%
- >>%
- \fi%
- \else%
+ /Action <<%
+ /S/GoTo%
+ /D/@MXV@\@MXV@@label%
+ \if@MXV@@draft\else%
+ \if@MXV@externalviewer\else%
+ \if@MXV@iiid%
+ \ifx\@MXV@iiidview\@empty\else%
/Next <<%
- /S /Rendition%
- /R {mediarendition\@MXV@getlabelvalue{@MXV@\@MXV@@label.annotid}}%
- /AN {screenannot\@MXV@getlabelvalue{@MXV@\@MXV@@label.annot}}%
- \@MXV@operation%
+ /S/GoTo3DView%
+ /TA {3Dannot\@MXV@getlabelvalue{@MXV@\@MXV@@label.annot}}%
+ /V \@MXV@iiidview%
+ \fi%
+ \@MXV@jscriptiiidaction%
+ \ifx\@MXV@iiidview\@empty\else%
>>%
\fi%
+ \else%
+ /Next <<%
+ /S /Rendition%
+ /R {mediarendition\@MXV@getlabelvalue{@MXV@\@MXV@@label.annotid}}%
+ /AN {screenannot\@MXV@getlabelvalue{@MXV@\@MXV@@label.annot}}%
+ \@MXV@operation%
+ >>%
\fi%
\fi%
- >>%
+ \fi%
>>%
}%
}%