summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/movie15
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-01-17 07:18:19 +0000
committerNorbert Preining <preining@logic.at>2008-01-17 07:18:19 +0000
commitaebc1a2b64ca58e39d021df69964197869140e19 (patch)
tree9c12b2237ee9c532dadb234a40073ffee69da7a9 /Master/texmf-dist/tex/latex/movie15
parenta42f368ba5e24f7b2c1ef9cfd676877252df0674 (diff)
update movie15 from ctan
git-svn-id: svn://tug.org/texlive/trunk@6276 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/movie15')
-rw-r--r--Master/texmf-dist/tex/latex/movie15/movie15.sty18
1 files changed, 17 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/movie15/movie15.sty b/Master/texmf-dist/tex/latex/movie15/movie15.sty
index 9d6e14aba3d..ec33ab948b1 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}[2008/01/10]
+\ProvidesPackage{movie15}[2008/01/16]
\RequirePackage{keyval}
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
@@ -280,6 +280,7 @@
\gdef\@MXV@iiidrate{}% animation speed
\global\@MXV@iiidrepeat=-1% repeat count
\gdef\@MXV@lights{}% default lighting scheme
+ \gdef\@MXV@render{}% default render mode scheme
}{}%
}%
@@ -616,6 +617,7 @@
/XN(\@MXV@xname)% name of the view appearing in the drop down list
\@MXV@background%
\@MXV@lights%
+ \@MXV@render%
>>}\pdfrefobj\pdflastobj%
\xdef\@MXV@@viewobj{\the\pdflastobj\space 0 R}%
}%
@@ -871,6 +873,7 @@
/XN(\@MXV@xname)%
\@MXV@background%
\@MXV@lights%
+ \@MXV@render%
>>%
}%
}%
@@ -2007,6 +2010,8 @@
\@MXV@newlabel{@MXV@\@MXV@label.3D}{true}%
\@MXV@labeltoaux{@MXV@\@MXV@label.3Dlights}{\@MXV@lights}%
\@MXV@newlabel{@MXV@\@MXV@label.3Dlights}{\@MXV@lights}%
+ \@MXV@labeltoaux{@MXV@\@MXV@label.3Drender}{\@MXV@render}%
+ \@MXV@newlabel{@MXV@\@MXV@label.3Drender}{\@MXV@render}%
\fi%
\ifx\@MXV@@label\@empty\else%
\@MXV@labeltoaux{@MXV@\@MXV@@label.3Doncurpage}{\the\@MXV@iiidoncurpage}%
@@ -2384,6 +2389,12 @@
}{%
\edef\@MXV@lights{\@MXV@getlabelvalue{@MXV@\@MXV@label.3Dlights}}%
}%
+ %retrieve default render mode
+ \ifthenelse{\equal{\@MXV@getlabelvalue{@MXV@\@MXV@label.3Drender}}{undefined}}{%
+ \edef\@MXV@render{}%
+ }{%
+ \edef\@MXV@render{\@MXV@getlabelvalue{@MXV@\@MXV@label.3Drender}}%
+ }%
\setkeys{MXV@user}{#1}%
\if@MXV@defaultviewprovided% define a new view,
%using any of the coo, c2c, roo, caa options
@@ -3522,6 +3533,11 @@
\gdef\@MXV@lights{/LS <</Subtype/#1>>}%
}{\@MXV@neediiiD}%
}
+\define@key{MXV@user}{3Drender}{%
+ \ifthenelse{\boolean{@MXV@iiiDfeat}}{%
+ \gdef\@MXV@render{/RM <</Subtype/#1>>}%
+ }{\@MXV@neediiiD}%
+}
%options for \movieref command
\define@key{MXV@user}{play}[true]{%
\setboolean{@MXV@linkplay}{#1}%