TransWikia.com

Texmaker Error "File not found"

TeX - LaTeX Asked by Pizzaguru on March 7, 2021

When I open my Thesis.tex file I get “File not found”

enter image description here

Worst error description ever!?

This first occured when I opened the .tex file yesterday from my USB. My USB was suddenly write protected (don’t know how to fix this either). So I copy the files to a new USB drive (as the files could still be read) but now I have got it again! (This time the USB is not write protected though)

It opens the file just fine and I can still work in it but building the pdf doesn’t work (it doesn’t finish).

That’s the best description I can give.

I think I’m just going to start over copying and pasting the text but maybe you guys have a better suggestion?

3 Answers

@Pizzaguru I mostly work on TeXmaker. After some time I figured out how you ended up into this "File not found problem". In future, please provide the steps that bring into the errors. Then it's easy to understand and find solutions.

When you run LaTeX (pdflatex) you need write permission to write the PDF. So your LaTeX compiler is not able to generate a pdf from .tex source. The .pdf file was not found in you case, hence the error from TeXmaker.

Try working on a local drive where you have full write permissions for the drive.

Answered by texenthusiast on March 7, 2021

The problem is addressed in the following url.

Go to tools -> click on pdflatex. Thats it.

TexMaker - "File not found" when viewing as pdf

Answered by venkateswara on March 7, 2021

I had the same error given to me by TeXmaker and I found my way here, so just to add the "trivial" case, which caused problems on my end:

If you test-compile an empty document with no content in between the document tags, you will get the above error. The following will not work,

(~~ preamble ~~)
begin{document}

end{document}

whereas

(~~ preamble ~~)
begin{document}
foobar
end{document}

works perfectly fine. It's obvious that this is easy to rule out as a possible error source ;)

Answered by Wojciech Morawiec on March 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP