Graphics, Figures & Tables ⇒ includegraphics error
includegraphics error
I am trying to add several figures to my latex file. I've been able to do it with:
\begin{center}
\includegraphics{R:\paper\charts\fig1.pdf}
\end{center}
but latex says it can't find the image file when I used:
\begin{center}
\includegraphics{fig1.pdf}
\end{center}
my tex file is in the same directory as the images. I am using Scientific Word. Does anyone know why or how to fix it?
Thank you!
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
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Re: includegraphics error
use pdfLaTeX instead of LaTeX, i.e. compile directly to pdf.
If you already did that, please tell us more: the exact error message for instance. Or post the log file as attachment here.
Stefan
Re: includegraphics error
Thank you!
Leon
- Attachments
-
- error.jpg (159.1 KiB) Viewed 4111 times
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
includegraphics error
Instead use slashes, for example:
Code: Select all
\includegraphics{R:/paper/charts/fig1.pdf}