To use pdflatex you essentially have to include
\usepackage[pdftex]{graphicx}
and use pdf files when including pictures. jpeg and png files are also
supported.
\begin{figure}[here]
\includegraphics[width=15cm,angle=90]{mypicture}
\caption{Scanned example 150dpi, width=15cm,angle=90}
\end{figure}
Note you may leave out the suffix .jpg (mypicture.jpg), pdflatex
or latex will find the suitable picture itself. This allows
to treat the file by both latex (using .eps) or pdflatex (using .jpg)
provided the picture exists as .eps and .jpg
Then run
pdflatex docfile
\usepackage[ppower] ... ... \pause ...This adds appropriate tags into the resulting output PDF file. This file must be treated with a postprocessor:
ppower4 name.pdf name_new.pdfThe following shell script runs pdflatex and runs ppower automatically if the latex file contains the pause instruction. In addition it runs acroread with the output file.
#!/bin/bash
name=`echo $1 | cut -f 1 -d "."`
echo $name
pdflatex $name
if [ $? -eq 0 ]
then
containspause=`grep '\\pause' $name.tex`
if [ -n "$containspause" ]
then
mv $name.pdf $name_tmp.pdf
ppower4 $name_tmp.pdf $name.pdf
fi
acroread -geometry 600x1000+10+10 $name.pdf&
fi
rm $name.log