[OS X TeX] pdfscreen : insert movie

Lawrence Armstrong armstron at ipgp.jussieu.fr
Tue Apr 9 05:09:38 EDT 2002



It doesn't work for me : Acrobat gives an error saying there is an error 
reading the data... Could you try with my test file to see if it's a 
local problem with my installation ?

Thank you in advance,
Lawrence Armstrong

test.tex :
%%%%%%%%%%%%%%%%%%%
\documentclass[11pt]{article}

\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse % we are not running PDFLaTeX
\else
\pdfoutput=1 % we are running PDFLaTeX
\pdftrue
\fi

\ifpdf
\usepackage[pdftex]{graphicx}
\else
\usepackage{graphicx}
\fi

\textwidth = 6.5 in
\textheight = 9 in
\oddsidemargin = 0.0 in
\evensidemargin = 0.0 in
\topmargin = 0.0 in
\headheight = 0.0 in
\headsep = 0.0 in
\parskip = 0.2in
\parindent = 0.0in


\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{definition}{Definition}

\title{Brief Article}
\author{The Author}
\begin{document}

\ifpdf
\DeclareGraphicsExtensions{.pdf, .jpg, .tif}
\else
\DeclareGraphicsExtensions{.eps, .jpg}
\fi

\maketitle

\pdfannot{
   /Subtype /Movie
   /T (Movie Titile)
   /Movie <</F (movie.mpg) /Aspect [400 300]>>
   /A << /ShowControls true >>
   /ANN pdfmark}


  \end{document}
  \end
%%%%%%%%%%%%%%%%%%%


On mardi, avril 9, 2002, at 08:56 , Gérard Degrez wrote:

>> will launch QuickTime in MacOS X to play the movie.
>>
>> \pdfannot{
>>   /Subtype /Movie
>>   /T (Movie Titile)
>>   /Movie <</F (movie.mpg) /Aspect [400 300]>>
>>   /A << /ShowControls true >>
>>   /ANN pdfmark}
>>
>> This should use the Acrobat plug in and show the movie from within
>> Acrobat. I haven't tested this though.
>
> I've tested. It works nicely. For details about controling the
> appearance of the movie, have a look at T. Merz' pdfmark primer
> (http://www.pdflib.com/pdfmark/)
>
> Gérard Degrez
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> -----------------------------------------------------------------
>


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------




More information about the MacOSX-TeX mailing list