manpagez: man pages & more
info asymptote
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.16 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. 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 source 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).


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.