From c97f81e751680c5d701f238849741eb545777965 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 15 Jun 2015 23:26:34 +0000 Subject: media9 (3jun15) git-svn-id: svn://tug.org/texlive/trunk@37551 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/media9/media9.tex | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/source/latex/media9/media9.tex') diff --git a/Master/texmf-dist/source/latex/media9/media9.tex b/Master/texmf-dist/source/latex/media9/media9.tex index 83ea652d847..997bf1e3347 100644 --- a/Master/texmf-dist/source/latex/media9/media9.tex +++ b/Master/texmf-dist/source/latex/media9/media9.tex @@ -681,10 +681,10 @@ function & argument &description\\\hline\hline {\tt pause} & & pause slide-show\\ {\tt playPause} & & toggle between play and pause\\ {\tt setXML} & string & load another configuration file (path to file, embedded using option `{\tt addresource}', or URL)\\ -{\tt seek} & int number & go to slide `number', zero-based\\ -{\tt slideNum} & & returns current slide number, zero-based; only useful in JavaScript via `{\tt callAS}' method\\ +{\tt seek} & int number & go to slide `number' (zero-based)\\ +{\tt slideNum} & & returns current slide number (zero-based); only useful in JavaScript via `{\tt callAS}' method\\ {\tt numSlides} & & returns total number of slides in the slide-show; only useful in JavaScript via `{\tt callAS}' method\\ -{\tt playing} & & returns boolean value `{\tt true}', if the media is currently playing, `{\tt true}' otherwise; only useful in JavaScript via `{\tt callAS}' method\\ +{\tt playing} & & returns boolean value `{\tt true}', if the slide-show is currently playing, `{\tt true}' otherwise; only useful in JavaScript via `{\tt callAS}' method\\ {\tt rotate} & int number (optional) & rotate current slide by number$\times\SI{90}{\degree}$\\\hline \end{tabular} \end{table} @@ -774,7 +774,8 @@ parameter & description\\\hline\hline \begin{figure}%[bp] \centering %\lstinputlisting[basicstyle=\scriptsize\ttfamily,language=XML]{config.xml} -\inputminted[fontsize=\footnotesize]{xml}{test/config.xml} +\vspace{-10\baselineskip} +\inputminted[fontsize=\footnotesize]{xml}{files/config.xml} \caption{Configuration file template (XML format) for `SlideShow.swf'}\label{SlideShowXML} \end{figure} @@ -789,7 +790,7 @@ parameter & description\\\hline\hline width=\linewidth,height=\linewidth, activate=pageopen, addresource=config.xml, %embedded configuration - addresource=files/ctan_lion_350x350.png, %embedded image file + addresource=files/cubeposter.png, %embedded image file flashvars={xml=config.xml}, passcontext %show the player's context menu ]{}{SlideShow.swf} @@ -801,12 +802,12 @@ parameter & description\\\hline\hline width=\linewidth,height=\linewidth, activate=pageopen, addresource=config.xml, %embedded configuration - addresource=files/ctan_lion_350x350.png, %embedded image file + addresource=files/cubeposter.png, %embedded image file flashvars={xml=config.xml}, passcontext %show the player's context menu ]{}{SlideShow.swf} \hfill} -\caption{Slide-show example with one embedded and several remote image files, some of which are live images. 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{\COO}+mouse-click. Play/pause auto-cycling through the slide-show by hitting \usebox{\CtoC}. 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 \myAcrobatmenu{ShowHideFileAttachment}{`config.xml'}. Manually cycle forwards through the images by mouse-click or backwards by \usebox{\COO}+mouse-click. Play/pause auto-cycling through the slide-show by hitting \usebox{\CtoC}. Also, the context (right-click) menu of the player can be used.}\label{slideshowex} \end{figure} \begin{figure}[bp] -- cgit v1.2.3