Texmaker and TeXstudiotexstudio doesn't see my files

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
karo_
Posts: 2
Joined: Thu May 20, 2021 11:27 am

texstudio doesn't see my files

Post by karo_ »

Hi, I have problem that I've seen has been posted on different pages but still can't find solution for that. I was using TeXstudio and all of a sudden I started getting these errors when I tried to insert a photo:
Package pdftex.def Error: File `pwe.png' not found: using draft setting. \includegraphics[scale=.28]{pwe.png}

The code itself its fine, I've checked my previous work that compiled without any problem before and now this error appears :(
I also copied the code to overleaf and it works fine. What to do ??

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

texstudio doesn't see my files

Post by Ijon Tichy »

First of all: This is not a problem of TeXstudio. TeXstudio is only the editor. It is a problem, while compiling the document.

Make sure, that the file pwe.png is in the same directory/folder as your main document file. Often I see questions like yours, because the (Windows) user has the image file in the Desktop folder instead of the folder of the LaTeX document.

If this does not help, please show us a Infominimal working example and the log-file of the LaTeX run with exactly this Infominimal working example. And tell us, where each used file is located.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply