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.

3
  • 2
    Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. Aug 11 '12 at 11:39
  • 1
    @Rachelle What exactly is the workflow here? I assume you are creating a .tex file, then trying to run something, then getting the warning?
    – Joseph Wright
    Aug 11 '12 at 12:35
  • Yes, exactly when i run any .tex file, then this warning pops up..
    – Rachelle
    Aug 11 '12 at 13:17
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

1
  • 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 8: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.

1
  • can't we make that a global option in the Tex Distribution (MacTex in my case)?
    – nyxee
    Feb 23 '17 at 17:19
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.

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.