GeneralLatex error: File 'x' not found

General information and discussion about TeXnicCenter
Post Reply
nickjj
Posts: 1
Joined: Mon Aug 18, 2014 12:37 am

Latex error: File 'x' not found

Post by nickjj »

Hi,

I'm having an issue with TeXnicCenter. I am including png files for figures in my document using \includegraphics (I am using graphicx and subfigure). Everything was working fine but now no figures are showing up and I am getting a "File 'X' not found" error, even though the png files are in folder that the Latex document is in. Any idea of why this is happening? Is there a setting that tells TexnicCenter where to look for the files that could be directing to the wrong folder? Now none of the figures in any of my files will show up.

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Latex error: File 'x' not found

Post by Johannes_B »

First of all, package subfigure is deprecated and superseded by packages subfig or subcaption.

Why didn't you give the exact error message? I can only guess that you switched to latex -> dvi -> ps -> pdf somehow and the compiler is looking for eps images instead of png (or pdf or jpg).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Latex error: File 'x' not found

Post by cgnieder »

Hi nickjj,

welcome to the LaTeX community.
nickjj wrote:I'm having an issue with TeXnicCenter. I am including png files for figures in my document using \includegraphics (I am using graphicx and subfigure). Everything was working fine but now no figures are showing up and I am getting a "File 'X' not found" error, even though the png files are in folder that the LaTeX document is in. Any idea of why this is happening? Is there a setting that tells TexnicCenter where to look for the files that could be directing to the wrong folder? Now none of the figures in any of my files will show up.
I don't believe this has anything to do with TeXnicCenter (and if it doesn't we might move this thread to an appropriate sub-forum). You can verify this by compiling from the command line. If the error still is the same then it is not your editor.

I assume you made sure there is no typo? Can you show a Infominimal working example that shows the behaviour?

Regards
site moderator & package author
Post Reply