Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This is my first time using a LaTeX editor.

I installed the Windows version of Texmaker changing the C drive to D and leaving the rest of the install path the same.

Windows 7 Ultimate 64-bit

Texmaker 3.4.1 for Windows

I then did "A Local guide for using Texmaker" PDF

Basically create a simple Hello World document and save it.

When I went to process the file (Tools - PDFLaTeX) I received the Error: Log file not found!

I checked the configuration (Options -> configure Texmaker) and found no option for log files.

I checked for a log file under the D:\Program Files (x86)\Texmaker and found none.

I checked for a log path in the Windows registry using regedit and found none.

I checked the Texmaker issues and found Issue 97 but it does not help.

I then uninstalled and reinstalled Texmaker allowing it to use the default directory on the C drive. I still get the same error.

Any ideas?


I installed MiKTeX as an administrator (didn't work as user) and chose the default options. After MiKTeX installed I was able to create a PDF file using Texmaker.

Also, correctly setting the PDF viewer options (Options -> Configure Texmaker -> Commands -> PDF Viewer) Built-in Viewer and Embed, I was able to preview the pdf in Texmaker (View -> PDF Viewer).

So, Texmaker is a LaTeX editor which generates a file containing LaTeX markup. MiKTeX is a program that converts the LaTeX markup into an output format such as PDF.

share|improve this question
@GuyCoder See What are the advantages of TeX Live over MikTeX for some good advice on the choice between the two main distributions for Windows. You really can't go wrong with either one. See also TeX distribution and engine for more info on what a distribution is. See also How do I update my distribution. –  Alan Munn Jul 19 '12 at 23:59

7 Answers 7

up vote 16 down vote accepted

You also need to install a TeX distribution, i.e. MiKTeX or TeX Live. The TeX distribution contains all the machinery needed to process source code and produce typeset documents; Texmaker is just a front end.

share|improve this answer

In my case I had a Windows 7 Professional, TexLive as the Tex distribution and the only way I got rid of the "Log file not found" error was after I read some of the current answers that indicated adding a full path to the lualatex executable script file like this C:\texlive\2014\bin\win32\lualatex.exe -synctex=1 -interaction=nonstopmode %.tex for the case of not having a MikTex bin in the Windows path (my case).

Perhaps someone can explain why after I did this it continued to work even after I removed the full path. As if TexMaker had recorded once what the path to the executables is. Attached is my current configuration dialogue window. enter image description here

share|improve this answer

This also occurs if you already have an install of MikTex but for some reason it gets broken. As happened to me this morning :S The fix is to simply as MikTex to update. It will then tell you there is a problem as it can't find itself, but offers to fix the problem. Update any files you want to update eh Presto, problem solved.

share|improve this answer

I was using a portable version of miktex with texmaker. Before using the texmaker you need to click on the Miktex box, then a blue box appears at the bottom of your page. Then you can reopen the texmaker and it will work.

share|improve this answer

It is possible in when using a version of Texmaker based on QT5 that you get this error even with you Tex framework available on the path. Make sure that the document you are trying to compile has a .tex prefix, it will not work otherwise.

share|improve this answer
Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. –  Claudio Fiandrino Jul 19 '13 at 18:38

If you still get error: Log file not found!, when using Texmaker when you have done everything (installed MiKTex, installed Texmaker, and checked if the binary for MiKTeX is already in your windows environment varible) then simply close the Texmaker and reopen it as an administrator. Right click on the executable for Texmaker and "Run as administrator". This worked for me!

share|improve this answer
This does not sound at all safe to me! (Is this safe on Windows? I know Windows is different...) –  cfr May 17 '14 at 21:41

It is not enough to just have the TeX distribution installed, it is also necessary to add the MiKTeX bin to the path or else change the commands in the configuration to use the full path to each executable (i.e., if you look at the actual commands being called they are just "latex", "pdflatex", etc. without the path to the executable).

In my case I had MiKTeX installed and working with another editor, but it would not work with TeXMaker - adding the path to the bin to my window Path environment variable resolved the issue for me. For me this path is:

C:\Program Files\MiKTeX 2.9\miktex\bin\x64

share|improve this answer
Welcome to TeX.sx! Feel free to visit our TeX.SX starter guide to get the most out of this site. –  Peter Jansson May 13 '13 at 21:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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