0

In graphics documents, one can use

\graphicspath{ {/Users/masi/Dropbox/Physiology/images/} }

for images. It is not for animations like SWF media. Now, I have to keep those animations in the main directory.

I want to specify path like this

\animationspath{ {/Users/masi/Dropbox/Physiology/animations/} }

How can you specify animations-path for SWF animations?

My try on AlexG answer

\documentclass{article}
\usepackage{media9}

\addmediapath{/Users/masi/Dropbox/Physiology/animations/}

\begin{document}
\includemedia[
  activate=pageopen,
  width=200pt,
  height=150pt
]{}{Heartaxis.swf}
\end{document}

but I get the error in the typesetting engine XeLaTeX

Undefined control sequence. (\addmediapath ...).
  • If \addmediapath is not defined, you are using an old version of media9. – AlexG Mar 22 '14 at 13:46
1

Acc. to the media9 documentation:

\addmediapath{/Users/masi/Dropbox/Physiology/}
  • I get "Undefined control sequence. (\addmediapath ...). Which packages are you using? – Léo Léopold Hertz 준영 Mar 22 '14 at 11:47
  • @Masi: media9, of course. – AlexG Mar 22 '14 at 13:23
  • I added the code of my try to my question body. Are you using same minimal tex code? – Léo Léopold Hertz 준영 Mar 22 '14 at 13:32
  • @Masi: Yes, I did. You may need to update your TeX installation and the packages therein (MiKTeX-2.9 or TeX-Live 2013). – AlexG Mar 22 '14 at 13:35
  • 1
    TL 2013 on Linux. tlmgr update --all --self should bring you to the state of the art ;) – AlexG Mar 22 '14 at 13:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.