Installed MikTex and Texmaker but got errors

  • Topic: LaTeX 
  • Thread starter davidwinth
  • Start date
  • Tags Tags
    Errors
2 replies · 2K views · last reply
davidwinth
Messages
106
Reaction score
10
I am trying to switch to LaTeX after struggling with MS Word to the point of despair. Unfortunately, things aren't off to a great start. I want to build a resume and I found a template but when I try to compile it I get the following error even with another very simple "first LaTeX program" I also found online. I installed MikTeX first so it should be working. What is wrong? I saved the file then clicked "Quick Build"

Thanks!

Screenshot of the TeXstudio-style LaTeX editor showing a sample article source file, with an error dialog reading "Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex" and an OK button.
 
Attachments
  • Screenshot of Texmaker showing a LaTeX source file with a modal error dialog reading "Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex" with an OK button.
    upload_2018-7-27_21-29-19.png
    17.8 KB · Views: 551
  • Screenshot of the TeXstudio-style LaTeX editor showing a sample article source file, with an error dialog reading "Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex" and an OK button.
    upload_2018-7-27_21-31-6.png
    26 KB · Views: 618
It would seem that your quick build setup does not find the pdflatex command. Make sure that your editor knows where to find the binaries of MikTeX by properly setting the path variable or directing it directly to the binaries in the quick build setup.
 
I had the same problem with the couple Texmaker-MikTex. Since I can barely use LaTex, I asked a wizard and he told me: "Switch to TeXstudio". I did as he said and everything worked fine. LaTex isn't that simple.