diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-04 22:34:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-04 22:34:27 +0000 |
commit | d6dee8fb8cc0b2601d1cc0c9caae561711d2b693 (patch) | |
tree | f2525e812c57796f26ef157304f86799b2de2c34 /Master/texmf-dist/tex/latex/movie15 | |
parent | 49dc802e973bf4bf5145f94225e2d0417eaad7c6 (diff) |
movie15 update (4jan07)
git-svn-id: svn://tug.org/texlive/trunk@3143 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/movie15')
-rw-r--r-- | Master/texmf-dist/tex/latex/movie15/movie15.sty | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/movie15/movie15.sty b/Master/texmf-dist/tex/latex/movie15/movie15.sty index 3a242932fbf..80b736cf2e0 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}[2006/12/19] +\ProvidesPackage{movie15}[2007/01/04] \RequirePackage{keyval} \RequirePackage{ifthen} \RequirePackage{ifpdf} @@ -77,6 +77,15 @@ % \setboolean{@MXV@presentation}{false}% %} +\AtBeginDocument{% + \provideboolean{Hy@colorlinks}% set by hyperref + \ifHy@colorlinks% coloured (movieref-)link text instead of link border + \gdef\@MXV@pdfborder{/Border [0 0 0]}% + \else% + \gdef\@MXV@pdfborder{}% + \fi% +} + \RequirePackage{everyshi}% \newcount\@MXV@page% counter for absolute page number \EveryShipout{% @@ -2240,7 +2249,8 @@ \ifthenelse{\isundefined{\pdfmark}}{\@MXV@missing{hyperref}}{}% \fi% \leavevmode% - \savebox{\@MXV@textbox}{#3}% save text argument + % save text argument + \savebox{\@MXV@textbox}{\ifHy@colorlinks\color{\@linkcolor}\fi#3}% % %find out whether the contents should be hidden or not (for presentations) \setboolean{@MXV@hide}{false}% @@ -3109,7 +3119,7 @@ }{% \edef\@MXV@linkattr{% \if@MXV@beamer% - /Border [1 1 1]% + \@MXV@pdfborder% \else% /Border [\@pdfborder]% \fi% @@ -3157,6 +3167,7 @@ Color=\@linkbordercolor,% AcroHighlight=\@pdfhighlight,% Raw={% + \@MXV@pdfborder% /_objdef {linkannot\the\@MXV@links}% }% }% |