What I want to achieve is to compile a document of pictures in .jpg format into a pdf file. The problem is that I would not want to input all the files one by one. The files follow a pattern in there name:
MSD 2013-10-15 00-20-27-72
MSD 2013-10-15 00-20-32-86
How can this be achieved in an algorithmic manner? The files were created as snapshots of a few powerpoint presentations using PrtSc then converted to .jpg format. If you can notice, the only difference between the files would be the creation time.
Note upon creation, the image files should cover all the page width and page height.
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{MSD 2013-10-15 00-20-27-72} % should cover entire page 1
\includegraphics{MSD 2013-10-15 00-20-32-86} % should cover entire page 2
.
.
.
\end{document}
Using the answer below, pdflatex shouts out:
! Dimension too large.
\pr@ship@end ...fi \endgroup {\dimen@ \ht \pr@box
\ifdim \dimen@ <\z@ \dimen...
l.17 \end{document}
I can't work with sizes bigger than about 19 feet.
Continue and I'll use the largest value I can.
! Dimension too large.
\pr@ship@end ...men@ \pr@bb@iv \dimen@ii =\dimen@
\global \pdfvorigin \dimen...
l.17 \end{document}
I can't work with sizes bigger than about 19 feet.
Continue and I'll use the largest value I can.
! Dimension too large.
<recently read> \dimen@
l.17 \end{document}
I can't work with sizes bigger than about 19 feet.
Continue and I'll use the largest value I can.
! Dimension too large.
<recently read> \dimen@
l.17 \end{document}
I can't work with sizes bigger than about 19 feet.
Continue and I'll use the largest value I can.
! Dimension too large.
\pr@endbox ... \@undefined \voffset =-\ht \pr@box
\hoffset =\z@ \fi \c@page ...
l.17 \end{document}
I can't work with sizes bigger than about 19 feet.
Continue and I'll use the largest value I can.
[1
! Huge page cannot be shipped out.
\pr@endbox ...y \pr@markerbox }\else \box \pr@box
\fi }\global \advance \pr@...
l.17 \end{document}
The page just created is more than 18 feet tall or
more than 18 feet wide, so I suspect something went wrong.
The following box has been deleted: []
Note each image file must be read from a folder.




*.jpgfile names and store to reuse them i suppose)? – texenthusiast Oct 16 '13 at 19:38\printimage{and}around the items; give a suitable definition of\printimage. Nesting three cycles that test, for every timestamp, the existence of the file with that name seems really a sledgehammer. – egreg Oct 16 '13 at 19:57.auxfile then the second run compile the document. – azetina Oct 16 '13 at 20:02\includegraphics. Next thing to check is the matter of spaces in filenames, YMMV depending on the operating system. – Rmano Oct 24 '13 at 19:50