First of all my latex knowledge is very basic. I would like to create a report using multiple images. All images have the date of creation as part of its name. I was wondering whether I could use a macro to specify the date so I can display only the relevant images This is my code
\documentclass[11pt]{article}
\usepackage{graphicx}
\def\a{04mar2015}
\begin{document}
\includegraphics[width=3in]{week 1/DENY claims $\a$.png}
\end{document}
As you can see the name of the file should be "DENY claims 04mar2015". When i run this code I get the following error ! Package pdftex.def Error: File `week 1/DENY claims $04mar2015$.png' not found.
Is it possible to use macros accomplish this task or should I use another method.
grffilepackage. The latter is not needed in your usage. – Werner Mar 05 '15 at 20:41.png. – Fran Mar 05 '15 at 21:01$s. – Werner Mar 05 '15 at 21:20