Troels Kofoed Jacobsen’s blog


Videos in pdf documents
June 27, 2008, 1:27 pm
Filed under: latex | Tags: , ,

Need to embed a video in a pdf presentation? Use the following latex code:

\usepackage{movie15}

...

\includemovie[poster,
autopause,
autoresume,
repeat,
text={\includegraphics[height=0.8\textheight]{picture.png}},
url
]
{}{} %width, height
{movie.mpg}



Execute scripts with LaTeX
April 27, 2008, 11:53 am
Filed under: latex | Tags: ,

Have you ever made a script generating content for your LaTeX tables?

And are you tired of running them every time you have new data?

Then make LaTeX run them when comipling. Just use the command
\write18{COMMAND}
and compile your document with
latex -shell-escape
NOTE: Do never run latex with -shell-escape if you did not make the document yourself, it might just eat your children.