12

I'm using Texmaker and I get this error "Log file not found" when I am running LatexPDF. Can you please help me to solve this problem.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
Rachelle
  • 121

4 Answers4

12

This error can occur if you have no TEX engine installed. Because TexMaker is only a editor and can therefor not compile tex code without a Tex distro installed previously.

If you are working on windows, make sure to install either TexLive or MikTex. http://www.tug.org/texlive/

For Mac there is MacTex. http://tug.org/mactex/

Hope this helps

Fry
  • 1,599
  • 3
    In this case please remember to mark this question as solved by clicking the checkmark next to the answer. – Fry Aug 12 '12 at 08:33
6

If somebody still encouters the problem, try to uncheck the "use a build subdirectory for output files" box. For me this in combination with Peiqins tip worked.

Thomas
  • 161
2

I encountered the same problem in Linux OS, and I run the command line to compile the .tex file first to generate a .log file in the directory. Then it can be compiled by Texmaker without errors.

Also this error occurs when you give a name with symbols like ! %&$# etc... make sure you didn't gave a name with symbols an try.

Peiqin
  • 281
  • 1
  • 2
  • 5
0

In my case, after trying many ways to solve the problem, I noticed that the name of the file I had to compile contained two spaces; I just renamed it and everything work fine.