[%# image: insert an in-line image, the width in cm is computed from
  #        the image width in pixels with a conversion factor tuned
  #        for the Athena document
  # ARGS:
  #     file  : path to image file, including extension
-%]
[% parts = file.split('\.');
   label = parts.first;
%]
[% USE image "${site.url.images}/${file}" %]
\begin{figure}[htbp]
  \begin{center}
    \includegraphics*[width=\linewidth]{[% image.name %]}
    \caption{[%content%]}
    \label{[% label %]}
  \end{center}
\end{figure}

