[pdftex] Movies (.mov or .mpeg) in PDF documents with pdfTeX?

Steffen Neumann sneumann at TechFak.Uni-Bielefeld.DE
Sun Jun 1 17:13:37 CEST 2003


Gerben Wierda <sherlock at rna.nl> writes:

> See subject, is this possible?

You need a little shell script in the same directory 
than your *.pdf file, that starts a movie player with 
your desired movie. Commandline arguments are unsupported,
hence the wrapper-script.

If you have a script.pif file next to that this also (in theory)
works for windooze.

Yours,
Steffen



%{{{ Launch external Programs

\ifpdf
% Compatibility Hack, 
% pdfannotlink had been renamed between pdftex 0.13 and 0.14
\ifx\pdfstartlink\@undefined% less than version 14
\let\pdfstartlink\pdfannotlink
\let\pdflinkmargin\@tempdima
\let\pdfxform\pdfform
\let\pdflastxform\pdflastform
\let\pdfrefxform\pdfrefform
\fi

%Launch based on a link, like \pdfstartlink{/usr/bin/xterm}{text} 
\newcommand{\pdflaunchlink}[2]{\leavevmode%
  \pdfstartlink attr{/Border [0 0 0]} user{/Subtype /Link /A << % 
    /S /Launch /F (#1) >>}{\underline{#2}}\pdfendlink\rule{0mm}{1em}}%
% Launch when entering the slide
\newcommand{\pdflaunch}[1]{%
  \pdfpageattr{ /AA << /O << /S /Launch /F (#1) >> >>}}
\else
\newcommand{\pdflaunchlink}[2]{#2 $\rightarrow$ #1}%
\newcommand{\pdflaunch}[1]{}%
\fi

%}}}


--- StripMime Report -- processed MIME parts ---
multipart/signed
  text/plain (text body -- kept)
  application/pgp-signature
---



More information about the pdftex mailing list