Would it make sense to add some code for using PDFs similar to the JPEG slideshow?
I assume, if something like:
# image 1.jpg
is possible, it should also be possible to add something like:
# page 1 of some.pdf
using some command line program such as pdftoppm
or similar?