2

I have several graphics named with sample's label and I want to include these graphs in my document. The problem is that the file's name contains points, for example, RT1_0.1.pdf.

When I try to include using \includegraphics, I get the error message that LaTeX does not recognize the extension .1.pdf. Since I have several graphs and the dot is important to label the samples, is there a way to add figures with this kind of filename?

5

You can use braces to delimite the name:

\includegraphics{{RT1_0.1}.pdf}
  • Great. A simple solution that I didn't know about. – Eduardo Jul 25 '13 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.