Hi everybody

I am a french teacher and I use PPOWER4 with happiness.

I have a system that makes PDF graphics files with frames; for example, myfile-0.pdf,...,myfile-9.pdf. When I want to build the figure frame by frame, I use

  \multiinclude[format=pdf,graphics={scale=2.15}]{myfile}

and it works very well.

But if I want that some frames disappear, I use something like

  \newcounter{counter}%
  \setcounter{counter}{0}%
  \renewcommand{\mypause}{%
   \ifcase\value{counter}%
    \pauselevel{=1 :1}\or%
    \pauselevel{=1 :2}\or%
    .....................
    \pauselevel{=1 :9}\else%
    \relax\fi%
   \pause\addtocounter{counter}{1}\relax}%
  \begin{center}
   \multiinclude[pause=\mypause,format=pdf,graphics={scale=2.15}]{myfile}
  \end{center} %

If I process my file with PDFLATEX and then with PPOWER4, I get the following message:

  This is PPower4 version 0.9.4.
  [1de.tu_darmstadt.sp.pp4.PP4Exception: Bad format \penalty : =1 \penalty [EMAIL PROTECTED]  :1
  de.tu_darmstadt.sp.pp4.PP4Exception: Bad format \penalty : =1 \penalty [EMAIL PROTECTED]  :2
  ..................................
  de.tu_darmstadt.sp.pp4.PP4Exception: Bad format \penalty : =1 \penalty [EMAIL PROTECTED]  :9
  ]
  Writing modified output file...
  Done.
 
The resulting pdf file contains the entire figure (all the frames together) and it does not work.

When I do the same thing with graphics files that come from XFIG, I have no problem.

Is there a solution for my problem?

Thank you very much.

Reply via email to