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.
4 Answers
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,599
-
3In 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
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.
- 161
-
can't we make that a global option in the Tex Distribution (MacTex in my case)? – nyxee Feb 23 '17 at 17:19
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.
- 281
- 1
- 2
- 5
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.
- 203
- 3
- 9
.texfile, then trying to run something, then getting the warning? – Joseph Wright Aug 11 '12 at 12:35--output-directory=./buildto your PDFLaTeX, XeLaTeX or LuaLatex script, for example, mine is:xelatex -synctex=1 -interaction=nonstopmode --shell-escape --output-directory=./build %.tex– Eduardo Jiménez Mar 02 '23 at 03:23