diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/flashmovie/test-beamer.pdf | bin | 0 -> 895179 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/flashmovie/test-beamer.tex | 149 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/flashmovie/test-flv.pdf | bin | 454864 -> 458748 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/flashmovie/test-flv.tex | 42 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/flashmovie/test.tex | 5 |
5 files changed, 188 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/flashmovie/test-beamer.pdf b/Master/texmf-dist/doc/latex/flashmovie/test-beamer.pdf Binary files differnew file mode 100644 index 00000000000..8bf2195fa08 --- /dev/null +++ b/Master/texmf-dist/doc/latex/flashmovie/test-beamer.pdf diff --git a/Master/texmf-dist/doc/latex/flashmovie/test-beamer.tex b/Master/texmf-dist/doc/latex/flashmovie/test-beamer.tex new file mode 100644 index 00000000000..d67cf4e34f1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/flashmovie/test-beamer.tex @@ -0,0 +1,149 @@ +\RequirePackage{flashmovie} +% it is neccessay to use "\RequirePackage{flashmovie}" because beamer +% also uses "\pdfminorversion". see flashmovie.sty for an explanation. + +\documentclass[10pt]{beamer} + +\usepackage[english]{babel} +\usepackage{hyperref} + +\usetheme{Warsaw} % Warsaw,Hannover,boxes +\usecolortheme{rose} % orchid,lily,dolphin,beetle,crane +\usefonttheme{professionalfonts} % professionalfonts,serif +\useinnertheme{rounded} % rounded +\useoutertheme{shadow} % shadow,sidebar,split + +%--------------------------------------------- + +\setbeamersize{text margin left=0.3cm} % small margins +\setbeamersize{text margin right=0.3cm} + +%--------------------------------------------- +% for writing a document is is convenient to switch movies off. to do this, +% use "blank=1" as an option. in order to use the videos, use "blank=0". +% +% to make thinks easy, use "blank=\myblank" as an option and define +% \myblank as suitable. + +\def\myblank{0} +%\def\myblank{1} + +%--------------------------------------------- + +\title[flashmovie.sty]{flashmovie.sty} +\author[\href{mailto:thartmann15@googlemail.com}{Timo Hartmann}]{\href{mailto:thartmann15@googlemail.com}{Timo Hartmann}} + +\date[2010]{} + +%--------------------------------------------- + +\begin{document} + +\frame{ + +\titlepage + +\begin{block}{\alert{Warning}} +It is recommended to use the latest available version of the Adobe Reader +to view PDF files generated with flashmovie.sty. +% Otherwise your Adobe Reader may die a sudden painfull death... +\end{block} + +} % end frame + +%--------------------------------------------- + +\begin{frame} + +\frametitle{Basics} + +\begin{minipage}[t]{6.1cm} +\vspace{0cm} +\flashmovie[width=6cm,height=5cm]{saturn5.swf} +\end{minipage} +\begin{minipage}[t]{5.7cm} +\vspace{0cm} +This package allows direct embedding of flash movies into PDF files. It is +designed for use with pdflatex. +\vspace{0.5cm} + +Basically it uses the fact that the Adobe Reader 9 contains an embedded Adobe Flash +player which can be invoked with the ``rich media annotation'' feature which is described +in ``Adobe Supplement to the ISO 32000 BaseVersion: 1.7 ExtensionLevel: 3''. +\vspace{0.5cm} + +This means that you can only use flashmovie.sty in combination +with Adobe Reader 9 and upwards. + +\end{minipage} + +\vspace{0.5cm} + +P.S.: This sample video is courtesy of the NASA ( \href{http://heasarc.gsfc.nasa.gov/Videos/historical/saturn5.avi}{saturn5.avi} ). + +\end{frame} + +%--------------------------------------------- + +\begin{frame}[fragile] + +\frametitle{Explanation} + +The source code used for the video on the previous page is: + +\begin{verbatim} +\flashmovie[width=6cm,height=5cm]{saturn5.swf} +\end{verbatim} + +This means that the movie is really a flash animation and is not +rendered by a player. So no controls are available. + +\end{frame} + +%--------------------------------------------- + +\begin{frame}[fragile] + +\frametitle{Issues with the flv-player} + +\begin{itemize} + +\item Sadly the flv-player does not work reliably with the latex package +beamer. If you try it, the acrobat reader often crashes while trying +to change the page. I have no idea what is the cause of this problem. + +\item The only reliable way to use beamer is to directly embed the videos +as flash animations. + +\item Another option is to use the JW player. It seems to work with beamer, +but is only rudimentary supported. + +\item Any competent help on this issue would be appreciated. This might be +another open source player which works with beamer or a fix of the flv-player +or something else. + +\end{itemize} + +\end{frame} + +%--------------------------------------------- + +\begin{frame}[fragile] + +\frametitle{Advanced use} + +Rich media annotations are not restricted to videos. +You can use flash animations, too. +Here for example is a clock written in action script: + +\flashmovie[width=8cm,height=5cm,blank=\myblank]{clock.swf} + +\begin{verbatim} + \flashmovie[width=8cm,height=5cm]{clock.swf} +\end{verbatim} + +\end{frame} + +%--------------------------------------------- + +\end{document} diff --git a/Master/texmf-dist/doc/latex/flashmovie/test-flv.pdf b/Master/texmf-dist/doc/latex/flashmovie/test-flv.pdf Binary files differindex bc487198f2b..b3bdcbf01fa 100644 --- a/Master/texmf-dist/doc/latex/flashmovie/test-flv.pdf +++ b/Master/texmf-dist/doc/latex/flashmovie/test-flv.pdf diff --git a/Master/texmf-dist/doc/latex/flashmovie/test-flv.tex b/Master/texmf-dist/doc/latex/flashmovie/test-flv.tex index b3bb182a1ce..bdc5e84b336 100644 --- a/Master/texmf-dist/doc/latex/flashmovie/test-flv.tex +++ b/Master/texmf-dist/doc/latex/flashmovie/test-flv.tex @@ -3,6 +3,7 @@ \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{hyperref} +\usepackage{color} \usepackage{flashmovie} @@ -15,11 +16,7 @@ designed for use with pdflatex. \flashmovie[width=10cm,height=10cm,engine=flv-player,auto=1]{saturn5.mp4} -\begin{verbatim} - \flashmovie[width=10cm,height=10cm,engine=flv-player,auto=1]{saturn5.mp4} -\end{verbatim} - -\vspace{1cm} +%\vspace{1cm} Basically it uses the fact that the Adobe Reader 9 contains an embedded Adobe Flash player which can be invoked with the ``rich media annotation'' feature which is described @@ -27,17 +24,36 @@ in ``Adobe Supplement to the ISO 32000 BaseVersion: 1.7 ExtensionLevel: 3''. \vspace{0.5cm} -P.S.: This sample video is courtesy of the NASA ( \href{http://heasarc.gsfc.nasa.gov/Videos/historical/saturn5.avi}{saturn5.avi} ). +This means that you can only use flashmovie.sty in combination +with Adobe Reader 9 and upwards. +% Otherwise your Adobe Reader may die a sudden painfull death... \vspace{0.5cm} -The movies in this document are rendered with the \href{http://flv-player.net}{``flv-player''} +\textcolor{red}{ + It is recommended to use the latest available version of the Adobe Reader + to view PDF files generated with flashmovie.sty. +} + +\vspace{0.5cm} + +P.S.: This sample video is courtesy of the NASA ( \href{http://heasarc.gsfc.nasa.gov/Videos/historical/saturn5.avi}{saturn5.avi} ). + +\newpage + +The source code used for the video on the previous page is: + +\begin{verbatim} + \flashmovie[width=10cm,height=10cm,engine=flv-player,auto=1]{saturn5.mp4} +\end{verbatim} + +This means that the movie is rendered with the \href{http://flv-player.net}{``flv-player''} whose developer is neolao. This player is distributed under the \href{http://www.mozilla.org/MPL/}{MPL version 1.1}. It is included in this package and is the recommended way to use ``flashmovie.sty'' besides directly embedding ``.swf'' files. -\newpage +\vspace{1cm} {\Huge Examples}\\\\ @@ -45,6 +61,7 @@ besides directly embedding ``.swf'' files. \begin{verbatim} \flashmovie[width=8cm,height=5cm,engine=flv-player,auto=0]{saturn5.mp4} \end{verbatim} +In this example the video is not started before the user clicks on it. \vspace{1cm} @@ -52,7 +69,16 @@ besides directly embedding ``.swf'' files. \begin{verbatim} \flashmovie[width=8cm,height=5cm,engine=flv-player,auto=0,image=saturn.jpg]{saturn5.mp4} \end{verbatim} +Here additionally an image is displayed before the movie starts. + +\newpage +Rich media annotations are not restricted to videos. +Here for example is a clock written in action script: +\flashmovie[width=8cm,height=5cm]{clock.swf} +\begin{verbatim} + \flashmovie[width=8cm,height=5cm]{clock.swf} +\end{verbatim} \end{document} diff --git a/Master/texmf-dist/doc/latex/flashmovie/test.tex b/Master/texmf-dist/doc/latex/flashmovie/test.tex index 1b1b65d0649..c59f9da9d4c 100644 --- a/Master/texmf-dist/doc/latex/flashmovie/test.tex +++ b/Master/texmf-dist/doc/latex/flashmovie/test.tex @@ -14,6 +14,11 @@ This package allows direct embedding of flash movies into PDF files. It is designed for use with pdflatex. \flashmovie[width=10cm,height=10cm]{saturn5.swf} +%\flashmovie[width=10cm,height=10cm,engine=pure-swf]{saturn5.swf} +%\flashmovie[width=10cm,height=10cm,engine=blank]{saturn5.swf} +%\flashmovie[width=10cm,height=10cm,engine=flv-player]{saturn5.mp4} +%\flashmovie[width=10cm,height=10cm,engine=flv-player,blank=0]{saturn5.mp4} +%\flashmovie[width=10cm,height=10cm,engine=flv-player,blank=1]{saturn5.mp4} %\flashmovie[width=10cm,height=10cm,engine=acropro]{saturn5.mp4} %\flashmovie[width=10cm,height=10cm,engine=jw-player]{saturn5.mp4} %\flashmovie[width=10cm,height=10cm,engine=osplayer]{saturn5.mp4} |