From 680e000f5a53e51965eb20aab3f3db3a020bac69 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 25 Apr 2017 22:27:45 +0000 Subject: media9 (25apr17) git-svn-id: svn://tug.org/texlive/trunk@44045 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/media9/media9.tex | 27 ++++++++++++------------ 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/source/latex/media9') diff --git a/Master/texmf-dist/source/latex/media9/media9.tex b/Master/texmf-dist/source/latex/media9/media9.tex index 8780849f110..60a0a1313f4 100644 --- a/Master/texmf-dist/source/latex/media9/media9.tex +++ b/Master/texmf-dist/source/latex/media9/media9.tex @@ -40,13 +40,9 @@ pdfsubject={Documentation}, pdfauthor={Alexander Grahn}, pdfkeywords={\keywords}, - citebordercolor={0 0 1}, - filebordercolor={0 0 1}, - linkbordercolor={0 0 1}, - menubordercolor={0 0 1}, - pagebordercolor={0 0 1}, - urlbordercolor={0 0 1} + allcolors=blue } +\usepackage[ocgcolorlinks]{ocgx2} %\usepackage{listings} \usepackage{minted} @@ -136,6 +132,7 @@ The final PDF can be viewed in current Adobe Readers on MS Windows and other pla \item Ghostscript, version $\ge8.31$ or Adobe Distiller for PS to PDF conversion \item dvipdfmx, version $\ge 20120420$ for DVI to PDF conversion \item Adobe Reader, version $\ge9$, but not greater than 9.4.1 on Linux; Foxit Reader (Flash, video, audio) +\item Adobe Flash Player plugin for Firefox \end{trivlist} \section{Installation} @@ -191,7 +188,7 @@ Except for `\verb+dvipdfmx+', `\verb+xetex+' and `\verb+bigfiles+', the options \begin{animateinline}[autoplay,loop,nomouse]{1}\strut\emph{Important:}\newframe[3]\end{animateinline} If PDF is generated via DVI and Postscript by the command sequence \verb+latex+ $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+, \verb+dvips+ option `\verb+-Ppdf+' should \emph{not} be set when converting the intermediate DVI into Postscript. If you cannot do without, put `\verb+-D 1200+' \emph{after} `\verb+-Ppdf+' on the command line. Users of \LaTeX-aware text editors with menu-driven toolchain invocation, such as \TeX{}nicCenter, should check the configuration of the \verb+dvips+ call. - Option `\verb+bigfiles+' is only relevant for the \verb+latex+ $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+ workflow. It may be needed if large media files cause \verb+latex+ to abort with error `\verb+TeX capacity exceeded+'. See Sect.\ \ref{bugs}.\enlargethispage{2\baselineskip} + Option `\verb+bigfiles+' is only relevant for the \verb+latex+ $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+ workflow. It may be needed if large media files cause \verb+latex+ to abort with error `\Verb+TeX capacity+ \Verb+exceeded+'. See Sect.\ \ref{bugs}.\enlargethispage{2\baselineskip} \section{The user interface} @@ -267,7 +264,7 @@ Decides on how to activate the media annotation. `\verb+activate=onclick+' is de \begin{verbatim} deactivate=onclick | pageclose | pageinvisible \end{verbatim} -Decides on how to de-activate the media annotation. `\verb+deactivate=pageclose+' is default behaviour and does not need be given explicitly; media is automatically de-activated when the user leaves the page containing the media. `\verb+pageinvisible+' is similar, but may be better for two-up and continuous page display. Setting `\verb+deactivate=onclick+' requires user interaction for de-activating the media, either by right-click and chosing `\emph{\sffamily Disable Content}' or by a JavaScript. +Decides on how to de-activate the media annotation. `\verb+deactivate=pageclose+' is default behaviour and does not need be given explicitly; media is automatically de-activated when the user leaves the page containing the media. `\verb+pageinvisible+' is similar, but may be better for two-up and continuous page display. Setting `\verb+deactivate+ \verb+=onclick+' requires user interaction for de-activating the media, either by right-click and chosing `\emph{\sffamily Disable Content}' or by a JavaScript. \hypertarget{draftfinal}{}% \begin{verbatim} draft @@ -784,11 +781,14 @@ parameter & description\\\hline\hline \caption{Configuration file template (XML format) for `SlideShow.swf'}\label{SlideShowXML} \end{figure} -\makeatletter% -\def\myAcrobatmenu#1#2{\leavevmode\pdfstartlink attr{\Hy@setpdfborder\ifx\@pdfhighlight\@empty\else/H\@pdfhighlight\fi\ifx\@menubordercolor\relax\else/C[\@menubordercolor]\fi} user{/Subtype/Link\ifHy@pdfa/F4\fi/A<>}\relax\Hy@colorlink\@menucolor#2\close@pdflink}\makeatother -\savebox{\keyshift}{\keys{\shift+}} -\savebox{\spacebar}{\keys{\unexpanded{\makebox[2\width][c]{Space}}}} \begin{figure}[bp] +\makeatletter% +\begingroup% locally fixing \Acrobatmenu for use in \caption +\def\HyColor@UseColor#1{\color{#1}}% +\def\Acrobatmenu#1#2{\leavevmode\pdfstartlink attr{\Hy@setpdfborder\ifx\@pdfhighlight\@empty\else/H\@pdfhighlight\fi\ifx\@menubordercolor\relax\else/C[\@menubordercolor]\fi}user{/Subtype/Link\ifHy@pdfa/F 4\fi/A<>}\relax\Hy@colorlink\@menucolor#2\close@pdflink}% +\makeatother% +\savebox{\keyshift}{\keys{\shift+}}% +\savebox{\spacebar}{\keys{\unexpanded{\makebox[2\width][c]{Space}}}}% \centering \begin{Verbatim} \includemedia[ @@ -812,7 +812,8 @@ parameter & description\\\hline\hline passcontext %show the player's context menu ]{}{SlideShow.swf} \hfill} -\caption{Slide-show example with one embedded and several remote image files, one of which is a live image. Images 2 and 3 are examples of remote images with variable resolution; the best fitting image resolution is requested from the server depending on the current display size. The listing in Fig.~\ref{SlideShowXML} is used as content of file \myAcrobatmenu{ShowHideFileAttachment}{`config.xml'}. Manually cycle forwards through the images by mouse-click or backwards by \usebox{\keyshift}+mouse-click. Play/pause auto-cycling through the slide-show by hitting \usebox{\spacebar}. Also, the context (right-click) menu of the player can be used.}\label{slideshowex} +\caption{Slide-show example with one embedded and several remote image files, one of which is a live image. Images 2 and 3 are examples of remote images with variable resolution; the best fitting image resolution is requested from the server depending on the current display size. The listing in Fig.~\ref{SlideShowXML} is used as content of file \Acrobatmenu{ShowHideFileAttachment}{`config.xml'}. Manually cycle forwards through the images by mouse-click or backwards by \usebox{\keyshift}+mouse-click. Play/pause auto-cycling through the slide-show by hitting \usebox{\spacebar}. Also, the context (right-click) menu of the player can be used.}\label{slideshowex} +\endgroup \end{figure} \begin{figure}[bp] -- cgit v1.2.3