LaTeX forum ⇒ GeneralTexmaker Error log file not found Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
rf1970
Posts: 5
Joined: Sat Dec 17, 2016 3:11 am

Texmaker Error log file not found

Postby rf1970 » Sat Dec 17, 2016 3:34 am

Hello all,

I am new to Latex.

I have tried to create a simple document using Texmaker quick wizard.

The code is attached.

  1. \documentclass[12pt,a4paper]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{amsmath}
  4. \usepackage{amsfonts}
  5. \usepackage{amssymb}
  6. \usepackage{makeidx}
  7. \usepackage{graphicx}
  8. \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
  9. \begin{document}
  10. Sample document
  11. \end{document}


After compilation, the following error came

log file not found.

I have installed MikTex 2.9 version for windows 7.

Regards,

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8952
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Dec 17, 2016 8:33 am

Welcome to the forum!

That code is ok. Did you see any other error message before "log file not found"? Usually I would ask for the log file. Perhaps post a screenshot if we could possibly see more then?

Stefan
Site admin

User avatar
Johannes_B
Site Moderator
Posts: 3795
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Dec 17, 2016 9:48 am

open a commandline and try to execute pdflatex. What happens?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

rf1970
Posts: 5
Joined: Sat Dec 17, 2016 3:11 am

Postby rf1970 » Sat Dec 17, 2016 11:17 am

[img]
Screen2.png
screen1.png
[/img]

I have attached the screen shot of the pdflatex executed in dos command line (screen1).

The screen shot 2, shows the error message when pdflatex compilation done.

Waiting for the reply..

Thanks and Regards,
Attachments
Screen2.png
Screen2.png (119.75 KiB) Viewed 8571 times
screen1.png
screen1.png (48.89 KiB) Viewed 8571 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 8952
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Dec 17, 2016 11:30 am

Go through your Texmaker options/settings, one by one. Perhaps post them here, maybe as a screenshot again. I assume there's a setting that lets Texmaker search in the wrong folder, such as -output-directory=... or a build subdirectory has been set.

It's also possible that Texmaker simply doesn't find pdflatex.exe. Check if Texmaker has the full path to pdflatex in its options, or ensure that the MikTeX binary path is in the Windows environment variables (such as C:\Program Files\MiKTeX 2.9\miktex\bin\x64).

Stefan
Site admin

rf1970
Posts: 5
Joined: Sat Dec 17, 2016 3:11 am

Postby rf1970 » Sat Dec 17, 2016 11:40 am


screen3.png
screen3.png (143.6 KiB) Viewed 8565 times


I have enclosed the options screen of the TexMaker.

Thanks & Regards,

User avatar
Stefan Kottwitz
Site Admin
Posts: 8952
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Dec 17, 2016 12:46 pm

I would try replacing pdflatex by "C:/Program Files/MiKTeX 2.9/miktex/bin/pdflatex", similar for latex.

Stefan
Site admin

rf1970
Posts: 5
Joined: Sat Dec 17, 2016 3:11 am

Postby rf1970 » Sat Dec 17, 2016 5:05 pm

Stefan Kottwitz wrote:I would try replacing pdflatex by "C:/Program Files/MiKTeX 2.9/miktex/bin/pdflatex", similar for latex.

Stefan


I have provided the path of Latex and pdflatex in the options.

It worked fine.

Thanks a lot!!

Roy


Return to “General”

Who is online

Users browsing this forum: Baidu [Spider] and 7 guests