[Spip] images en pdflatex

Voilà ce que j'ai trouvé pour avoir des images dans pdflatex. J'espère que
ça marche !

1. Convert all your Images to jpg (I think pdf should work the same way but
i haven't tried it yet)/I used gimp to do the convertion.
  
2. Insert these lines into your tex-file:
  
..
\usepackage{graphicx}
\DeclareGraphicsExtensions{ps,.png,.jpg,.pdf,.mps}
..
  
%Definition of the Command \insertpic {Filename} {label}\
{caption} {x-size}
newcommand{\insertpic}[4]{
\begin{figure}[h]
\begin{minipage}{\textwidth}
\centerline{\includegraphics[width=#4]{#1}}
\caption{\label{#2} {\it #3}}
\end{minipage}
\end{figure}}
..
\begin{document}
..
\insertpic {Filename} {label} {caption} {x-size}
..
  
3. Compile the File using pdflatex or latex (should work too)
  
Regards,
  
Kenan