LaTeX forum ⇒ Texmaker and TeXstudiotexstudio doesn't see my files

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

texstudio doesn't see my files

Postby karo_ » Thu May 20, 2021 11:34 am

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 ??

User avatar
Ijon Tichy
Posts: 526
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Thu May 20, 2021 12:45 pm

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.

Return to “Texmaker and TeXstudio”

Who is online

Users browsing this forum: No registered users and 4 guests