I want to include a sequence of images in Beamer (although it can be in another type of document). Something similar to the option Photo Album in LibreOffice and MS PowerPoint.
What I did is to make a template (that I can modify):
%s
\begin{frame}
\frametitle{%s}
\framesubtitle{%s}
\centering
\includegraphics[width=0.9\textwidth]{%s}
\end{frame}
And then I use a Python script to generate the code for each frame, like this:
tex_file = open(filename + '.tex', 'a+')
for name in list_files:
print >> tex_file, s1 %(comment, title, subtitle, name)
tex_file.close()
After that I just use an \include in my main file to add the sequence of images.
My question: Is there a package for this task? or a better way to do it?



photo_001.jpg,photo_002.jpg, ...? – Werner Sep 23 '14 at 03:43im-vf=1.png,im-vf=2.png, ... – nicoguaro Sep 23 '14 at 03:55pgfforpackage. – gibbone Nov 17 '22 at 10:41