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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p