Graphics, Figures & Tables ⇒ figure cannot be found even with graphicspath
figure cannot be found even with graphicspath
I'm not to sure if this is the corect place to post, but Texnic center is telling me it can't find my figure when it is clearl there has anyone got any ideas.
ps.
do i have to write the whole path even if its in the same folder?
ps.
do i have to write the whole path even if its in the same folder?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
figure cannot be found even with graphicspath
You should describe a little bit more precise how you try to build your document and where those external graphics files are placed. The log file could be very helpful. Usually it is not necessary to give the whole path in case the graphics files reside in the same folder as the source. It is recommendable to to put them into a subdirectory and then include them with the relative path given.
Best regards
Thorsten¹
Code: Select all
\includegraphics{subdir/filename}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
figure cannot be found even with graphicspath
ok
this is how my document starts
and this is how i attempt to place a figure
the pics are in the file above, but i only just made the chang to include a \graphicspath{{}} thingy
this is how my document starts
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage{graphicx}
\usepackage{amssymb,amsmath}
\numberwithin{equation}{section}
\graphicspath{{C:/Users/Pazmush/Desktop/Latex files/Lab Report/pics}}
Code: Select all
\begin{figure}[tbp]
\centering
\includegraphics[width=1.00\textwidth]{transient}
\end{figure}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Figures
From this code I can't see any problem. You didn't provide the log file (as attachment) I already asked for in my last reply. It would be very helpful in getting a clue.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Figures
oh yeah sorry,
ummmmmmm, how do i get that to you?
sorry, i got it
ummmmmmm, how do i get that to you?
sorry, i got it
- Attachments
-
- LabReport.log
- (8.35 KiB) Downloaded 268 times
Last edited by pazmush on Mon Jan 05, 2009 8:42 pm, edited 1 time in total.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
figure cannot be found even with graphicspath
You can upload files to the server as attachment to your post in the section "Upload attachment" right below the input window. To make sure the server accepts the file, simply put it into a ZIP archive.pazmush wrote:[...] how do i get that to you?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Figures
decided to use the old copy and paste technique
does my package no longer support .eps files?
does my package no longer support .eps files?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
figure cannot be found even with graphicspath
I edited your last post and put the log file as attachment to prevent mouse wheels from early death. The log file says that you are compiling with pdflatex. You now say that you try to insert EPS files. That doesn't work because pdflatex only accepts the formats JPG, PDF and PNG for external graphics files. I suggest to convert your EPS files to PDF with the command line tool epstopdf or "on the fly" with the epstopdf package. You will need Ghostscript installed.pazmush wrote:decided to use the old copy and paste technique
does my package no longer support .eps files?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Figures
so once ive installed the package i can just use
\usepackage{epstopdf}
and everything will be cool?
or do i have to define thos other things eg.
\DeclareGraphicsExtensions?????
\usepackage{epstopdf}
and everything will be cool?
or do i have to define thos other things eg.
\DeclareGraphicsExtensions?????
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
figure cannot be found even with graphicspath
Declaring graphics extensions as well as giving suffixes to file names is not necessary. The compiler will search the right format for the external files on its own. Note that you have to call the compiler with the switch -enable-write18 in the command line options to enable usage of external executables. Just adapt the output profiles of your editor.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10