2
  \begin{figure}
       \animategraphics[autoplay,loop]{10}{anim-}{0}{11}
  \end{figure}

I have anim-0.png to anim-11.png images. And I have included

\usepackage{animate}
\usepackage{graphics}

Still I am getting still image on previewing.

\documentclass[compress]{beamer}

\usepackage[utf8x]{inputenc}
\usepackage[english]{babel}
\usepackage{default}
\usepackage[toc,page]{appendix}
\usepackage{enumerate}
\usepackage{amssymb,amsmath,graphicx,tikz,movie15}
\usepackage{hyperref}
\usetheme{Ilmenau}
\usecolortheme{dolphin}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{animate}
\usepackage{graphics}
\title{Data\\}

\begin{document}

\begin{frame}
\titlepage
\end{frame}
\section{Introduction}
\begin{frame}
   \frametitle{2D Animation}
   \begin{figure}
        \animategraphics[autoplay,loop]{10}{anim-}{0}{11}
     \end{figure}
\end{frame}
\end{document}
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Apr 24 '14 at 14:11
  • I have added the entire code. All those /usepackage are required at some other places in the document. – user3234277 Apr 24 '14 at 14:44
  • There are a lot of packages which are not needed for the MWE at all. graphics is outdated, you should use graphicx instead. And hyperref should basically be the last package to be loaded. The compilation stops at subcaption and the 'anim' files are not available. –  Apr 24 '14 at 14:50
  • On what PDF visualizer are you looking at it ? Evince, Okular, Acrobat Reader ? – perror Apr 24 '14 at 15:52

1 Answers1

2

Beware to the PDF visualizer that you are using, not all include the feature of showing animated sequences.

Up to my knowledge, Evince is not but Acrobat Reader can display animated sequences. I didn't try with Okular.

Also, as Christian Hupfer said, use the graphicx package better than the old graphics.

perror
  • 754
  • 1
  • 8
  • 21