1

I have a document with 8 frames and I want to include it in my beamer as an animated figure, but I'm getting an error of (! Package animate Error: Missing frame number in \animategraphics command.) when I'm using this command

\animategraphics[width=0.5\textwidth , autoplay,loop]{1}{xxx.pdf}{}{}

When I use this command \includegraphics[scale=0.75]{CEOC400036.pdf}, it outputs only one frame.

0

Remove the file extension .pdf, as in this example with multipage PDF file example-image-a4-numbered.pdf from mwe package:

\documentclass{article}
\usepackage{animate,graphicx}


\begin{document}

  \animategraphics[width=0.5\textwidth,autoplay,loop]{1}{example-image-a4-numbered}{}{}

\end{document}
2
  • I tried that and it didn't work with me – Diana Feb 13 at 8:02
  • 1
    Does my example code work for you? Next, does file xxx.pdf exist? – AlexG Feb 13 at 8:26

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.