Graphics, Figures & Tables ⇒ Trouble with .svg files
Trouble with .svg files
Now I want to use vector graphics and I've discovered that my drawing program can export .svg files. Unfortunately I can't get LaTeX (Beamer to be more precise) to accept them.
I use the line
\usepackage{svg}
in the preamble and then use
\begin{center}
\includesvg[width=45mm]{first}
\end{center}
in the place where I want the figure to be.
I get the following error
! LaTeX Error: File `./first' not found.
and eventually
I could not locate the file with any of these extensions:
.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPEG,.JBIG2,.JB2
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: File `first.pdf_tex' not found.
I would be grateful if anyone could offer any help.
Thanks,
GedC
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis