| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.17 embed
This module provides an interface to the LaTeX package
(included with MikTeX)
http://www.ctan.org/tex-archive/macros/latex/contrib/movie15
for embedding movies, sounds, and 3D objects into a PDF document.
However, XeLaTeX users need to rename the modified version
movie15_dvipdfmx.sty from
http://asymptote.svn.sourceforge.net/viewvc/asymptote/trunk/asymptote/patches/
to movie15.sty and place it in their LaTeX path.
The latest version (2008/10/08) of the movie15 package requires both
pdflatex version 1.20 or later and the file
http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/ifdraft.dtx
which can be installed by placing it in a directory ifdraft in
the local LaTeX directory
(e.g. /usr/local/share/texmf/tex/latex/ifdraft) and executing in that
directory the commands:
tex ifdraft.dtx texhash
An example of embedding U3D code is provided in the file
embeddedu3d.asy.
As of version 7.0.8, Adobe Reader supports the U3D format
under Linux.
Unfortunately, Adobe has not yet made available an embedded movie plugin
for the Linux version of Adobe Reader. A portable method for
embedding movie files, which should work on any platform and does not require
the movie15 or ifdraft packages, is provided by using the
external module instead of embed. An example of these
interfaces is provided in the file embeddedmovie.asy and
externalmovie.asy in the animations subdirectory of the
examples directory. For a higher quality movie generated directly by
Asymptote, use the animate module along with the
animate.sty package to embed a portable PDF animation
(see animate).
