thanks Herbert, still no luck, only the first picture gets included (without the quotes), no more. the package grffile didn't seem to help, thanks for the suggestions, any other way? > try it without the " > \includegraphics[width=\textwidth]{#1}} > > or alternetively load package grffile