I like to include an image with
\includegraphics[width=5cm]{./images/My_Image.svg.png}
where the image is an png file that had been converted with inkscape from an svg and therefor the filename-ending is .svg.png on linux.
Now pdflatex does not recognize it as an png
! LaTeX Error: Unknown graphics extension: .svg.png.
What can I do, besides renameming the file? Renaming does not work, because the files are needed in exacly that name from somewhere else, my last idea would be to use symlinks, but I would prefer a "latex-only" solution
\includegraphics[width=5cm]{./images/My_Image}and let latex figure it out. I agree that it would be nice to have a way to force a format, e.g.\includegraphics[format=png, ...]{...}but I don't know how to do it. – alfC Aug 03 '14 at 07:15grffile: the standard LaTeX routine is designed around files with a standard<filename>.<extension>format with one.;grffileextends the code to cover multiple.chars in the name. – Joseph Wright Aug 03 '14 at 07:43