I installed TexMaker latest (4.02 I think) on my MacBook, and got following message when trying to build a .tex file:

Could not start the command. "pdflatex" -synctex=1 -interaction=nonstopmode %.tex

I have no idea what happened, and I also did not find much answer I need on internet. What is the problem? Could anyone help with that? Thanks a lot.

  • 2
    It could be that you have no LaTeX installation available (just the editor). One of such installations is TeXLive. If you do have it installed and from a terminal you can type pdflatex without getting a "not found" error, I recommend you clarify this in your question. Aug 21, 2017 at 3:30
  • For Mac, MacTeX would be suited for you. Please look if you have it installed. Aug 21, 2017 at 3:35
  • Are the paths set correctly in TeXMaker? The paths to the TeX binaries should be /Library/TeX/texbin not /usr/local/texbin.
    – Alan Munn
    Aug 21, 2017 at 3:38

1 Answer 1


TexMaker is an editor. You need a LaTeX distribution to compile the source files and produce the corresponding PDFs in your computer.

You may check more information at: How to configure Texmaker to work on Mac with MacTeX? and Texmaker on MacOS Sierra

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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